diff options
author | Havoc Pennington <hp@pobox.com> | 2001-02-17 23:30:48 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-02-17 23:30:48 +0000 |
commit | 1c391cc69846713b0406545146ea232efc5f34e2 (patch) | |
tree | 2941b3344e0111ac049df088fae03216ce473245 /gobject/gobject-query.c | |
parent | adfafc0872a0d787eb46b8a487fcd8db91ec34fb (diff) |
include string.h
2001-02-17 Havoc Pennington <hp@pobox.com>
* gthread.c: include string.h
Applied patch from Soeren Sandmann:
* testglib.c: const fixes
* gwin32.h: format cleanups
* gutils.c (g_atexit): constify a variable
(g_find_program_in_path): constification
(g_basename): G_CONST_RETURN
(g_path_skip_root): G_CONST_RETURN
(g_getenv): G_CONST_RETURN
(g_get_user_name): G_CONST_RETURN
(g_get_real_name): G_CONST_RETURN
(g_get_home_dir): G_CONST_RETURN
(g_get_tmp_dir): G_CONST_RETURN
(g_get_prgname): G_CONST_RETURN
(_glib_gettext): G_CONST_RETURN
* gunicode.h: formatting cleanups
* gstrfuncs.c (g_strerror): G_CONST_RETURN
(g_strsignal): G_CONST_RETURN
* gspawn.c (g_execute): const on variables
* gmessages.c (printf_string_upper_bound): fix const on a variable
* gmem.c (g_mem_chunk_new): make the "name" arg const
(struct _GRealMemChunk): make the "name" field const
* gfileutils.c (g_file_open_tmp): store const return in a const
gchar* variable
* gdataset.c (g_quark_to_string): G_CONST_RETURN
2001-02-17 Havoc Pennington <hp@pobox.com>
Applied patch from Soeren Sandmann:
* gvaluetypes.c (g_value_get_string): G_CONST_RETURN
* gtype.c (g_type_name): G_CONST_RETURN
* gsignal.c (g_signal_name): G_CONST_RETURN
* gobject-query.c (main): const fix
2001-02-17 Havoc Pennington <hp@pobox.com>
Applied patch from Soeren Sandmann:
* gmodule.c (g_module_error): G_CONST_RETURN
(g_module_name): G_CONST_RETURN
Diffstat (limited to 'gobject/gobject-query.c')
-rw-r--r-- | gobject/gobject-query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/gobject-query.c b/gobject/gobject-query.c index 8a440db3a..37f87980c 100644 --- a/gobject/gobject-query.c +++ b/gobject/gobject-query.c @@ -213,7 +213,7 @@ main (gint argc, root = ~0; for (i = 0; i < 256; i++) { - gchar *name = g_type_name (i); + const gchar *name = g_type_name (i); if (name) show_nodes (i, 0, iindent); |