From: Behdad Esfahbod Date: Sat, 29 Nov 2008 01:21:11 +0000 (+0000) Subject: Bug 562638 – GDebugKey key member should be const X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=6d0e4aa2cf5b23a7295dabc5c92634351050989f;p=dana%2Fcg-glib.git Bug 562638 – GDebugKey key member should be const 2008-11-28 Behdad Esfahbod Bug 562638 – GDebugKey key member should be const * glib/gutils.h: Change GDebugKey key member from gchar * to const gchar *. svn path=/trunk/; revision=7709 --- diff --git a/ChangeLog b/ChangeLog index 62ef3d2f..031dee68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-11-28 Behdad Esfahbod + + Bug 562638 – GDebugKey key member should be const + + * glib/gutils.h: Change GDebugKey key member from gchar * to + const gchar *. + 2008-11-28 Matthias Clasen Bug 547264 – Missing "no flags" flag diff --git a/glib/gutils.h b/glib/gutils.h index 267575e1..1cd12c01 100644 --- a/glib/gutils.h +++ b/glib/gutils.h @@ -189,8 +189,8 @@ G_CONST_RETURN gchar* g_get_user_special_dir (GUserDirectory directory); typedef struct _GDebugKey GDebugKey; struct _GDebugKey { - gchar *key; - guint value; + const gchar *key; + guint value; }; /* Miscellaneous utility functions