summaryrefslogtreecommitdiffstats
path: root/gtk/src/settings.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-01-15 00:28:20 +0000
committerjstebbins <[email protected]>2014-01-15 00:28:20 +0000
commitb67efeaaa45d2954197d60b27e9158defa6dc8cc (patch)
tree2994c91f66b4905c42f77f1b0352d182d8b85eb0 /gtk/src/settings.c
parentf8cacd9c5edbc626e41aaa2d1767a5277a7e290c (diff)
LinGui: fix deprecation of GtkAction and GtkUIManager
Farely large change since these were the old way of creating menus :-\ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5974 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/settings.c')
-rw-r--r--gtk/src/settings.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gtk/src/settings.c b/gtk/src/settings.c
index 9d211797e..ee68f74f6 100644
--- a/gtk/src/settings.c
+++ b/gtk/src/settings.c
@@ -254,13 +254,6 @@ ghb_widget_value(GtkWidget *widget)
bval = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget));
value = ghb_boolean_value_new(bval);
}
- else if (type == GTK_TYPE_TOGGLE_ACTION)
- {
- g_debug("\ttoggle action");
- gboolean bval;
- bval = gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(widget));
- value = ghb_boolean_value_new(bval);
- }
else if (type == GTK_TYPE_CHECK_MENU_ITEM)
{
g_debug("\tcheck_menu_item");
@@ -516,11 +509,6 @@ update_widget(GtkWidget *widget, const GValue *value)
g_debug("toggle button");
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widget), ival);
}
- else if (type == GTK_TYPE_TOGGLE_ACTION)
- {
- g_debug("toggle action");
- gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(widget), ival);
- }
else if (type == GTK_TYPE_CHECK_MENU_ITEM)
{
g_debug("check menu item");