summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/rep-gtk2/files/patch-gtk-compat.c
blob: 7ee510da51b534359a406f124a158cfbfae506de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- gtk-compat.c.orig   Thu Mar 18 16:17:34 2004
+++ gtk-compat.c    Thu Mar 18 16:17:49 2004
@@ -64,7 +64,7 @@
 
 GtkWidget*
 gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group,
-                       gchar            *label)
+                       const gchar            *label)
 {
   GSList *g = group? gtk_radio_menu_item_group (group) : NULL;
   return gtk_radio_menu_item_new_with_label (g, label);
@@ -72,7 +72,7 @@
 
 GtkWidget*
 gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group,
-                          gchar            *label)
+                          const gchar            *label)
 {
   GSList *g = group? gtk_radio_menu_item_group (group) : NULL;
   return gtk_radio_menu_item_new_with_mnemonic (g, label);