aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2015-10-03 12:28:00 +0100
committerSimon Tatham <anakin@pobox.com>2015-10-03 16:07:04 +0100
commit07906104a2a67221913aebc5f0a5c1e00f3869d9 (patch)
tree9448d3910095e9062afcf436d7f5d7d95dfec7d9
parent2c1b00086d80987e830e3de5c9e9b334845951a6 (diff)
downloadpuzzles-07906104a2a67221913aebc5f0a5c1e00f3869d9.zip
puzzles-07906104a2a67221913aebc5f0a5c1e00f3869d9.tar.gz
puzzles-07906104a2a67221913aebc5f0a5c1e00f3869d9.tar.bz2
puzzles-07906104a2a67221913aebc5f0a5c1e00f3869d9.tar.xz
GTK 3 prep: use gtk_radio_menu_item_get_group().
Replaces the previous deprecated spelling. We now build cleanly with -DGTK_DISABLE_DEPRECATED.
-rw-r--r--gtk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk.c b/gtk.c
index 4af5022..d89914f 100644
--- a/gtk.c
+++ b/gtk.c
@@ -2299,7 +2299,7 @@ static frontend *new_window(char *arg, int argtype, char **error)
menuitem =
gtk_radio_menu_item_new_with_label(fe->preset_radio, name);
fe->preset_radio =
- gtk_radio_menu_item_group(GTK_RADIO_MENU_ITEM(menuitem));
+ gtk_radio_menu_item_get_group(GTK_RADIO_MENU_ITEM(menuitem));
fe->n_preset_menu_items++;
gtk_container_add(GTK_CONTAINER(submenu), menuitem);
g_object_set_data(G_OBJECT(menuitem), "user-data", params);
@@ -2313,7 +2313,7 @@ static frontend *new_window(char *arg, int argtype, char **error)
gtk_radio_menu_item_new_with_label(fe->preset_radio,
"Custom...");
fe->preset_radio =
- gtk_radio_menu_item_group(GTK_RADIO_MENU_ITEM(menuitem));
+ gtk_radio_menu_item_get_group(GTK_RADIO_MENU_ITEM(menuitem));
gtk_container_add(GTK_CONTAINER(submenu), menuitem);
g_object_set_data(G_OBJECT(menuitem), "user-data",
GINT_TO_POINTER(CFG_SETTINGS));