aboutsummaryrefslogtreecommitdiff
path: root/src/title-widget.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-09-07 21:04:47 +0100
committerConor Curran <conor.curran@canonical.com>2010-09-07 21:04:47 +0100
commit9840130d7059edec3acd634d18f8f601c2afc28a (patch)
tree4bd19cb21477e39d1e2f75645c809adbc82f7555 /src/title-widget.c
parent7569d1ceb769afcd429eec614c3a0c0b9ca0a2c0 (diff)
downloadayatana-indicator-sound-9840130d7059edec3acd634d18f8f601c2afc28a.tar.gz
ayatana-indicator-sound-9840130d7059edec3acd634d18f8f601c2afc28a.tar.bz2
ayatana-indicator-sound-9840130d7059edec3acd634d18f8f601c2afc28a.zip
removed unnecessary hbox and label and set the text directly on the menuitem
Diffstat (limited to 'src/title-widget.c')
-rw-r--r--src/title-widget.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/title-widget.c b/src/title-widget.c
index 1925b6d..1021c89 100644
--- a/src/title-widget.c
+++ b/src/title-widget.c
@@ -80,9 +80,6 @@ title_widget_init (TitleWidget *self)
{
g_debug("TitleWidget::title_widget_init");
- TitleWidgetPrivate * priv = TITLE_WIDGET_GET_PRIVATE(self);
-
-
// Add image to the 'gutter'
gtk_image_menu_item_set_always_show_image(GTK_IMAGE_MENU_ITEM(self), TRUE);
gtk_image_menu_item_set_use_stock(GTK_IMAGE_MENU_ITEM(self), FALSE);
@@ -191,7 +188,6 @@ title_widget_property_update(DbusmenuMenuitem* item, gchar* property,
{
g_return_if_fail (IS_TITLE_WIDGET (userdata));
TitleWidget* mitem = TITLE_WIDGET(userdata);
- TitleWidgetPrivate * priv = TITLE_WIDGET_GET_PRIVATE(mitem);
if(g_ascii_strcasecmp(DBUSMENU_TITLE_MENUITEM_NAME, property) == 0){
gtk_menu_item_set_label (GTK_MENU_ITEM(mitem),