diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-03-19 05:20:50 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-03-19 05:20:50 +0800 |
commit | fac93a4235dadb2893b2fbb27aab78f1359d9aa5 (patch) | |
tree | 223b69738bedf4e74c86516dc818b662725170b0 /x11-toolkits | |
parent | 2507caf2d3f170f28abc42c897a011638f5f6aeb (diff) | |
download | marcuscom-ports-fac93a4235dadb2893b2fbb27aab78f1359d9aa5.tar marcuscom-ports-fac93a4235dadb2893b2fbb27aab78f1359d9aa5.tar.gz marcuscom-ports-fac93a4235dadb2893b2fbb27aab78f1359d9aa5.tar.bz2 marcuscom-ports-fac93a4235dadb2893b2fbb27aab78f1359d9aa5.tar.lz marcuscom-ports-fac93a4235dadb2893b2fbb27aab78f1359d9aa5.tar.xz marcuscom-ports-fac93a4235dadb2893b2fbb27aab78f1359d9aa5.tar.zst marcuscom-ports-fac93a4235dadb2893b2fbb27aab78f1359d9aa5.zip |
const'ify my love.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2121 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/rep-gtk2/files/patch-gtk-compat.c | 20 | ||||
-rw-r--r-- | x11-toolkits/rep-gtk2/files/patch-rep-gtk.h | 15 |
2 files changed, 35 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); diff --git a/x11-toolkits/rep-gtk2/files/patch-rep-gtk.h b/x11-toolkits/rep-gtk2/files/patch-rep-gtk.h new file mode 100644 index 000000000..d08df121e --- /dev/null +++ b/x11-toolkits/rep-gtk2/files/patch-rep-gtk.h @@ -0,0 +1,15 @@ +--- rep-gtk.h.orig Thu Mar 18 16:17:18 2004 ++++ rep-gtk.h Thu Mar 18 16:17:29 2004 +@@ -291,10 +291,10 @@ + + GtkWidget* + gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group, +- gchar *label); ++ const gchar *label); + GtkWidget* + gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group, +- gchar *label); ++ const gchar *label); + GtkWidget* gtk_radio_menu_item_new_from_widget (GtkRadioMenuItem *group); + GtkWidget* gtk_pixmap_new_interp (char *file, GtkWidget *intended_parent); + |