diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-01-10 20:25:36 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-01-10 20:25:36 +0000 |
commit | 82425f25064d97b0feb2c0c5cdc839558bf5f51f (patch) | |
tree | ad51e43395b5abea04a0ffd9a3e9f35200699853 /src/title-widget.c | |
parent | 5f7a9d979b49674604160ce4baac403c79832470 (diff) | |
download | ayatana-indicator-sound-82425f25064d97b0feb2c0c5cdc839558bf5f51f.tar.gz ayatana-indicator-sound-82425f25064d97b0feb2c0c5cdc839558bf5f51f.tar.bz2 ayatana-indicator-sound-82425f25064d97b0feb2c0c5cdc839558bf5f51f.zip |
getting there
Diffstat (limited to 'src/title-widget.c')
-rw-r--r-- | src/title-widget.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/title-widget.c b/src/title-widget.c index 08b4b81..1318ce1 100644 --- a/src/title-widget.c +++ b/src/title-widget.c @@ -138,12 +138,11 @@ title_widget_button_press_event (GtkWidget *menuitem, //g_debug("TitleWidget::menu_press_event"); TitleWidgetPrivate * priv = TITLE_WIDGET_GET_PRIVATE(menuitem); - GValue value = {0}; - g_value_init(&value, G_TYPE_BOOLEAN); - - g_value_set_boolean(&value, TRUE); - dbusmenu_menuitem_handle_event (priv->twin_item, "Title menu event", &value, 0); - + GVariant* new_title_event = g_variant_new_boolean(TRUE); + dbusmenu_menuitem_handle_event (priv->twin_item, + "Title menu event", + new_title_event, + 0); return FALSE; } |