# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../rep-gtk/gtk-2.4.patch # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- SDE-COPYRIGHT-NOTE-END --- --- ./rep-gtk.h.orig 2005-03-28 23:48:38.000000000 -0400 +++ ./rep-gtk.h 2005-03-28 23:49:35.000000000 -0400 @@ -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); --- ./gtk-compat.c.orig 2005-03-28 23:49:54.000000000 -0400 +++ ./gtk-compat.c 2005-03-28 23:50:39.363196776 -0400 @@ -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);