projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c864a1
)
Silence some compiler warnings
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 20 Jan 2012 13:08:06 +0000
(08:08 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 20 Jan 2012 13:08:06 +0000
(08:08 -0500)
gio/gmenumarkup.c
patch
|
blob
|
history
diff --git
a/gio/gmenumarkup.c
b/gio/gmenumarkup.c
index
4cdd985
..
a586f83
100644
(file)
--- 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));