From 6d0e4aa2cf5b23a7295dabc5c92634351050989f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 29 Nov 2008 01:21:11 +0000 Subject: [PATCH] =?utf8?q?Bug=20562638=20=E2=80=93=20GDebugKey=20key=20mem?= =?utf8?q?ber=20should=20be=20const?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- ChangeLog | 7 +++++++ glib/gutils.h | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 62ef3d2..031dee6 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 267575e..1cd12c0 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 -- 2.7.4