summaryrefslogtreecommitdiffstats
path: root/gtk/src/main.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/main.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/main.c')
-rw-r--r--gtk/src/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c
index d57fdaf0b..04c43df6a 100644
--- a/gtk/src/main.c
+++ b/gtk/src/main.c
@@ -1088,9 +1088,7 @@ main(int argc, char *argv[])
GHB_THREAD_NEW("Cache Volume Names", (GThreadFunc)ghb_cache_volnames, ud);
#if defined(_USE_APP_IND)
- GtkUIManager * uim = GTK_UI_MANAGER(GHB_OBJECT(ud->builder, "uimanager1"));
-
- GtkMenu *ai_menu = GTK_MENU(gtk_ui_manager_get_widget(uim, "/ui/tray_menu"));
+ GtkMenu *ai_menu = GTK_MENU(GHB_OBJECT(ud->builder, "tray_menu"));
ud->ai = app_indicator_new("HandBrake", "hb-icon", APP_INDICATOR_CATEGORY_APPLICATION_STATUS);
app_indicator_set_menu( ud->ai, ai_menu );
app_indicator_set_label( ud->ai, "", "99.99%");