diff options
author | Michal Ratajsky <[email protected]> | 2014-06-20 16:14:59 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-10-09 16:53:00 +0200 |
commit | de3e2fc0c8a77708b4921c4d3b3c83efee01cc28 (patch) | |
tree | d67a29dd032c99959665e6f5a5cf6ea184813493 /mate-volume-control/src/gvc-stream-status-icon.h | |
parent | d1c86461bebd11bab895ee4e7506233947756870 (diff) | |
download | mate-media-de3e2fc0c8a77708b4921c4d3b3c83efee01cc28.tar.bz2 mate-media-de3e2fc0c8a77708b4921c4d3b3c83efee01cc28.tar.xz |
Port applet to libmatemixer
Diffstat (limited to 'mate-volume-control/src/gvc-stream-status-icon.h')
-rw-r--r-- | mate-volume-control/src/gvc-stream-status-icon.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/mate-volume-control/src/gvc-stream-status-icon.h b/mate-volume-control/src/gvc-stream-status-icon.h index 8c984a0..cd32f64 100644 --- a/mate-volume-control/src/gvc-stream-status-icon.h +++ b/mate-volume-control/src/gvc-stream-status-icon.h @@ -21,34 +21,37 @@ #ifndef __GVC_STREAM_STATUS_ICON_H #define __GVC_STREAM_STATUS_ICON_H +#include <glib.h> #include <glib-object.h> -#include "gvc-mixer-stream.h" +#include <libmatemixer/matemixer.h> G_BEGIN_DECLS #define GVC_TYPE_STREAM_STATUS_ICON (gvc_stream_status_icon_get_type ()) #define GVC_STREAM_STATUS_ICON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GVC_TYPE_STREAM_STATUS_ICON, GvcStreamStatusIcon)) -#define GVC_STREAM_STATUS_ICON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GVC_TYPE_STREAM_STATUS_ICON, GvcStreamStatusIconClass)) +#define GVC_STREAM_STATUS_ICON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GVC_TYPE_STREAM_STATUS_ICON, GvcStreamStatusIconClass)) #define GVC_IS_STREAM_STATUS_ICON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GVC_TYPE_STREAM_STATUS_ICON)) #define GVC_IS_STREAM_STATUS_ICON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GVC_TYPE_STREAM_STATUS_ICON)) #define GVC_STREAM_STATUS_ICON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GVC_TYPE_STREAM_STATUS_ICON, GvcStreamStatusIconClass)) -typedef struct GvcStreamStatusIconPrivate GvcStreamStatusIconPrivate; +typedef struct _GvcStreamStatusIcon GvcStreamStatusIcon; +typedef struct _GvcStreamStatusIconClass GvcStreamStatusIconClass; +typedef struct _GvcStreamStatusIconPrivate GvcStreamStatusIconPrivate; -typedef struct +struct _GvcStreamStatusIcon { GtkStatusIcon parent; GvcStreamStatusIconPrivate *priv; -} GvcStreamStatusIcon; +}; -typedef struct +struct _GvcStreamStatusIconClass { GtkStatusIconClass parent_class; -} GvcStreamStatusIconClass; +}; -GType gvc_stream_status_icon_get_type (void); +GType gvc_stream_status_icon_get_type (void) G_GNUC_CONST; -GvcStreamStatusIcon * gvc_stream_status_icon_new (GvcMixerStream *stream, +GvcStreamStatusIcon * gvc_stream_status_icon_new (MateMixerStream *stream, const char **icon_names); void gvc_stream_status_icon_set_icon_names (GvcStreamStatusIcon *icon, @@ -56,7 +59,7 @@ void gvc_stream_status_icon_set_icon_names (GvcStreamStatu void gvc_stream_status_icon_set_display_name (GvcStreamStatusIcon *icon, const char *display_name); void gvc_stream_status_icon_set_mixer_stream (GvcStreamStatusIcon *icon, - GvcMixerStream *stream); + MateMixerStream *stream); G_END_DECLS |