aboutsummaryrefslogtreecommitdiff
path: root/src/metadata-widget.h
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.h
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.h')
-rw-r--r--src/metadata-widget.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/metadata-widget.h b/src/metadata-widget.h
index 48dc61e..30b629c 100644
--- a/src/metadata-widget.h
+++ b/src/metadata-widget.h
@@ -19,8 +19,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef __METADATA_WIDGET_H__
#define __METADATA_WIDGET_H__
-//#include <gtk/gtkmenuitem.h>
-#include <gtk/gtkimagemenuitem.h>
+#include <gtk/gtkmenuitem.h>
#include <libdbusmenu-gtk/menuitem.h>
G_BEGIN_DECLS
@@ -36,11 +35,11 @@ typedef struct _MetadataWidget MetadataWidget;
typedef struct _MetadataWidgetClass MetadataWidgetClass;
struct _MetadataWidgetClass {
- GtkImageMenuItemClass parent_class;
+ GtkMenuItemClass parent_class;
};
struct _MetadataWidget {
- GtkImageMenuItem parent;
+ GtkMenuItem parent;
};
GType metadata_widget_get_type (void);