Bug 562638 – GDebugKey key member should be const
authorBehdad Esfahbod <behdad@gnome.org>
Sat, 29 Nov 2008 01:21:11 +0000 (01:21 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Sat, 29 Nov 2008 01:21:11 +0000 (01:21 +0000)
2008-11-28  Behdad Esfahbod  <behdad@gnome.org>

        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

ChangeLog
glib/gutils.h

index 62ef3d2..031dee6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-28  Behdad Esfahbod  <behdad@gnome.org>
+
+       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  <mclasen@redhat.com>
 
        Bug 547264 – Missing "no flags" flag
index 267575e..1cd12c0 100644 (file)
@@ -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