aboutsummaryrefslogtreecommitdiff
path: root/src/metadata-widget.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-06-16 16:06:11 +0200
committerConor Curran <conor.curran@canonical.com>2011-06-16 16:06:11 +0200
commit76406c4e1590a739f592e336cfa2816bd8ae6f4d (patch)
tree384512e0a3db61bf0bbbd33bfddc7b5602b5d10a /src/metadata-widget.c
parent9ab1c1505226e7b384ebdaea1eca760d05bc803d (diff)
downloadayatana-indicator-sound-76406c4e1590a739f592e336cfa2816bd8ae6f4d.tar.gz
ayatana-indicator-sound-76406c4e1590a739f592e336cfa2816bd8ae6f4d.tar.bz2
ayatana-indicator-sound-76406c4e1590a739f592e336cfa2816bd8ae6f4d.zip
reverted the metadata widget to inherit from plain old gtk menu item, we don't need it to inherit from gtkimagemenuitem anymore
Diffstat (limited to 'src/metadata-widget.c')
-rw-r--r--src/metadata-widget.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/metadata-widget.c b/src/metadata-widget.c
index aea6f2e..71af85d 100644
--- a/src/metadata-widget.c
+++ b/src/metadata-widget.c
@@ -44,7 +44,6 @@ struct _MetadataWidgetPrivate
GtkWidget* piece_label;
GtkWidget* container_label;
GtkWidget* player_label;
- GtkWidget* player_icon;
GdkPixbuf* icon_buf;
DbusmenuMenuitem* twin_item;
};
@@ -87,7 +86,7 @@ static void metadata_widget_set_icon (MetadataWidget *self);
static void metadata_widget_handle_resizing (MetadataWidget* self);
-G_DEFINE_TYPE (MetadataWidget, metadata_widget, GTK_TYPE_IMAGE_MENU_ITEM);
+G_DEFINE_TYPE (MetadataWidget, metadata_widget, GTK_TYPE_MENU_ITEM);
static void
metadata_widget_class_init (MetadataWidgetClass *klass)