From a461f70080f4fb7127ee59619abed803dbdc2353 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 20 Jan 2012 08:08:06 -0500 Subject: [PATCH] Silence some compiler warnings --- gio/gmenumarkup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gmenumarkup.c b/gio/gmenumarkup.c index 4cdd985f8..a586f834a 100644 --- a/gio/gmenumarkup.c +++ b/gio/gmenumarkup.c @@ -193,7 +193,7 @@ g_menu_markup_start_element (GMarkupParseContext *context, { GMenuItem *item; GMenu *menu; - gchar *id; + const gchar *id; menu = g_menu_new (); item = g_menu_item_new_submenu (NULL, G_MENU_MODEL (menu)); @@ -214,7 +214,7 @@ g_menu_markup_start_element (GMarkupParseContext *context, { GMenuItem *item; GMenu *menu; - gchar *id; + const gchar *id; menu = g_menu_new (); item = g_menu_item_new_section (NULL, G_MENU_MODEL (menu));