summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/rep-gtk2/files/patch-gtk-compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/rep-gtk2/files/patch-gtk-compat.c')
-rw-r--r--x11-toolkits/rep-gtk2/files/patch-gtk-compat.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/rep-gtk2/files/patch-gtk-compat.c b/x11-toolkits/rep-gtk2/files/patch-gtk-compat.c
new file mode 100644
index 000000000..7ee510da5
--- /dev/null
+++ b/x11-toolkits/rep-gtk2/files/patch-gtk-compat.c
@@ -0,0 +1,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);