aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indicator-session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c
index 2017fff..840965e 100644
--- a/src/indicator-session.c
+++ b/src/indicator-session.c
@@ -52,7 +52,7 @@ struct _IndicatorSession {
IndicatorObject parent;
IndicatorServiceManager * service;
GtkImage * status_image;
- GtkMenu * menu;
+ DbusmenuGtkMenu * menu;
};
GType indicator_session_get_type (void);
@@ -99,7 +99,7 @@ indicator_session_init (IndicatorSession *self)
self->service = indicator_service_manager_new_version(INDICATOR_SESSION_DBUS_NAME, INDICATOR_SESSION_DBUS_VERSION);
self->status_image = GTK_IMAGE(gtk_image_new_from_icon_name("system-shutdown-panel", GTK_ICON_SIZE_MENU));
- self->menu = GTK_MENU(dbusmenu_gtkmenu_new(INDICATOR_SESSION_DBUS_NAME, INDICATOR_SESSION_DBUS_OBJECT));
+ self->menu = dbusmenu_gtkmenu_new(INDICATOR_SESSION_DBUS_NAME, INDICATOR_SESSION_DBUS_OBJECT);
return;
}
@@ -145,7 +145,7 @@ get_icon (IndicatorObject * io)
static GtkMenu *
get_menu (IndicatorObject * io)
{
- return INDICATOR_SESSION(io)->menu;
+ return GTK_MENU(INDICATOR_SESSION(io)->menu);
}