[glib] Silence some compiler warnings
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Silence some compiler warnings
- Date: Fri, 20 Jan 2012 20:03:01 +0000 (UTC)
commit a461f70080f4fb7127ee59619abed803dbdc2353
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jan 20 08:08:06 2012 -0500
Silence some compiler warnings
gio/gmenumarkup.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gmenumarkup.c b/gio/gmenumarkup.c
index 4cdd985..a586f83 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]