aboutsummaryrefslogtreecommitdiff
path: root/src/mute-menu-item.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-26 13:24:20 -0600
committerConor Curran <conor.curran@canonical.com>2011-01-26 13:24:20 -0600
commita31cd4c1759ff5b8cc75a0d43e6a45a4a5573b3a (patch)
tree8242b31a9301e293c94fcef4e6ba9fc366fb4ebc /src/mute-menu-item.h
parent7ff9e0aafc0562c8d07f8f5dae96780c7e5c01c3 (diff)
downloadayatana-indicator-sound-a31cd4c1759ff5b8cc75a0d43e6a45a4a5573b3a.tar.gz
ayatana-indicator-sound-a31cd4c1759ff5b8cc75a0d43e6a45a4a5573b3a.tar.bz2
ayatana-indicator-sound-a31cd4c1759ff5b8cc75a0d43e6a45a4a5573b3a.zip
refactor complete
Diffstat (limited to 'src/mute-menu-item.h')
-rw-r--r--src/mute-menu-item.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mute-menu-item.h b/src/mute-menu-item.h
index 1432de1..8240441 100644
--- a/src/mute-menu-item.h
+++ b/src/mute-menu-item.h
@@ -22,7 +22,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <glib.h>
#include <glib-object.h>
-
#include <libdbusmenu-glib/menuitem.h>
G_BEGIN_DECLS
@@ -38,19 +37,21 @@ typedef struct _MuteMenuItem MuteMenuItem;
typedef struct _MuteMenuItemClass MuteMenuItemClass;
struct _MuteMenuItemClass {
- DbusmenuMenuitemClass parent_class;
+ GObjectClass parent_class;
};
struct _MuteMenuItem {
- DbusmenuMenuitem parent;
+ GObject parent;
};
GType mute_menu_item_get_type (void);
-MuteMenuItem* mute_menu_item_new();
+MuteMenuItem* mute_menu_item_new ();
+
+void mute_menu_item_update (MuteMenuItem* item, gboolean update);
+void mute_menu_item_enable (MuteMenuItem* item, gboolean active);
-void mute_menu_item_update(MuteMenuItem* item, gboolean update);
-void mute_menu_item_enable(MuteMenuItem* item, gboolean active);
+DbusmenuMenuitem* mute_menu_item_get_button (MuteMenuItem* item);
G_END_DECLS