summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-06-21 12:04:02 +0000
committerjstebbins <[email protected]>2011-06-21 12:04:02 +0000
commit6b1c821b68eed93b7600fb45d5cf9ed922668708 (patch)
tree7ded670bc66ed0b9bd1c464bfcc65cfe247cd991 /gtk
parent65ba27af8f47971196c3c1b152b41a83ca1e3fc9 (diff)
LinGui: fix a couple compiler warnings
missed some necessary casts when adding AppIndicator support git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4072 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c
index 6ff84ae89..6fb82b12f 100644
--- a/gtk/src/main.c
+++ b/gtk/src/main.c
@@ -949,9 +949,9 @@ main (int argc, char *argv[])
gtk_status_icon_set_tooltip(si, "HandBrake");
#endif
#if defined(_USE_APP_IND)
- GtkUIManager * uim = GHB_OBJECT(ud->builder, "uimanager1");
+ GtkUIManager * uim = GTK_UI_MANAGER(GHB_OBJECT(ud->builder, "uimanager1"));
- GtkMenu *ai_menu = gtk_ui_manager_get_widget (uim, "/ui/tray_menu");
+ GtkMenu *ai_menu = GTK_MENU(gtk_ui_manager_get_widget(uim, "/ui/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%");