openbsd-ports/x11/rep-gtk/patches/patch-gtk-compat_c
pedro 512e738ee3 Fix issue with gtk_radio_menu_item_new_with_label_from_widget() and
gtk_radio_menu_item_new_with_mnemonic_from_widget() that was preventing
Sawfish from working correctly, okay sturm@.
2006-04-30 12:47:16 +00:00

22 lines
847 B
Plaintext

$OpenBSD: patch-gtk-compat_c,v 1.2 2006/04/30 12:47:16 pedro Exp $
--- gtk-compat.c.orig Fri Jul 12 01:19:22 2002
+++ gtk-compat.c Fri Apr 28 20:35:19 2006
@@ -64,7 +64,7 @@ gtk_menu_popup_interp (GtkMenu *menu,
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 @@ gtk_radio_menu_item_new_with_label_from_
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);