summaryrefslogtreecommitdiff
path: root/mate-volume-control/src/gvc-mixer-dialog.h
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-07-05 01:41:22 +0200
committerinfirit <[email protected]>2014-10-09 16:53:00 +0200
commitcf427cb4ccfc269252c1f7744b4c730ef0bb7a4e (patch)
tree2b623fa9cabd575907a1cf40378eeecb8f21efaa /mate-volume-control/src/gvc-mixer-dialog.h
parenta4cb2a2c9ab27e32449b5696bb989cc761ec73c7 (diff)
downloadmate-media-cf427cb4ccfc269252c1f7744b4c730ef0bb7a4e.tar.bz2
mate-media-cf427cb4ccfc269252c1f7744b4c730ef0bb7a4e.tar.xz
Initial port of the dialog
Diffstat (limited to 'mate-volume-control/src/gvc-mixer-dialog.h')
-rw-r--r--mate-volume-control/src/gvc-mixer-dialog.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/mate-volume-control/src/gvc-mixer-dialog.h b/mate-volume-control/src/gvc-mixer-dialog.h
index 6db9ae5..3c67d9f 100644
--- a/mate-volume-control/src/gvc-mixer-dialog.h
+++ b/mate-volume-control/src/gvc-mixer-dialog.h
@@ -21,7 +21,10 @@
#ifndef __GVC_MIXER_DIALOG_H
#define __GVC_MIXER_DIALOG_H
+#include <glib.h>
#include <glib-object.h>
+#include <libmatemixer/matemixer.h>
+
#include "gvc-mixer-control.h"
G_BEGIN_DECLS
@@ -35,23 +38,27 @@ G_BEGIN_DECLS
#define GVC_IS_MIXER_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GVC_TYPE_MIXER_DIALOG))
#define GVC_MIXER_DIALOG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GVC_TYPE_MIXER_DIALOG, GvcMixerDialogClass))
-typedef struct GvcMixerDialogPrivate GvcMixerDialogPrivate;
+typedef struct _GvcMixerDialog GvcMixerDialog;
+typedef struct _GvcMixerDialogClass GvcMixerDialogClass;
+typedef struct _GvcMixerDialogPrivate GvcMixerDialogPrivate;
-typedef struct
+struct _GvcMixerDialog
{
GtkDialog parent;
GvcMixerDialogPrivate *priv;
-} GvcMixerDialog;
+};
-typedef struct
+struct _GvcMixerDialogClass
{
GtkDialogClass parent_class;
-} GvcMixerDialogClass;
+};
+
+GType gvc_mixer_dialog_get_type (void) G_GNUC_CONST;
-GType gvc_mixer_dialog_get_type (void);
+GvcMixerDialog * gvc_mixer_dialog_new (MateMixerControl *control);
-GvcMixerDialog * gvc_mixer_dialog_new (GvcMixerControl *control);
-gboolean gvc_mixer_dialog_set_page (GvcMixerDialog *dialog, const gchar* page);
+gboolean gvc_mixer_dialog_set_page (GvcMixerDialog *dialog,
+ const gchar *page);
G_END_DECLS