summaryrefslogtreecommitdiff
path: root/gst-mixer/src/element.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-07 17:41:04 +0100
committerStefano Karapetsas <[email protected]>2012-11-07 17:41:04 +0100
commitb73df84c7cde202707fb740a0c266fe7d4a29794 (patch)
treee56072c1d0fbc11cd7d5422bf5d0d33ca1a66255 /gst-mixer/src/element.h
parenta2fac276568d29592db30e422b733d93d5d6e466 (diff)
downloadmate-media-b73df84c7cde202707fb740a0c266fe7d4a29794.tar.bz2
mate-media-b73df84c7cde202707fb740a0c266fe7d4a29794.tar.xz
gst-mixer: migrate to gsettings
TODO: need to add a feature to disable whitelist mixers
Diffstat (limited to 'gst-mixer/src/element.h')
-rw-r--r--gst-mixer/src/element.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/gst-mixer/src/element.h b/gst-mixer/src/element.h
index bb224a0..526fb1e 100644
--- a/gst-mixer/src/element.h
+++ b/gst-mixer/src/element.h
@@ -24,7 +24,7 @@
#include <glib.h>
#include <gtk/gtk.h>
-#include <mateconf/mateconf-client.h>
+#include <gio/gio.h>
#include <gst/interfaces/mixer.h>
G_BEGIN_DECLS
@@ -48,8 +48,8 @@ typedef struct _MateVolumeControlElement {
/* current element that we're working on */
GstMixer *mixer;
- /* mateconf client inherited from our parent */
- MateConfClient *client;
+ /* gsettings */
+ GSettings *settings;
} MateVolumeControlElement;
typedef struct _MateVolumeControlElementClass {
@@ -57,12 +57,14 @@ typedef struct _MateVolumeControlElementClass {
} MateVolumeControlElementClass;
GType mate_volume_control_element_get_type (void);
-GtkWidget * mate_volume_control_element_new (MateConfClient *client);
+GtkWidget * mate_volume_control_element_new ();
void mate_volume_control_element_change (MateVolumeControlElement *el,
- GstElement *element);
-gboolean mate_volume_control_element_whitelist (GstMixer *mixer,
- GstMixerTrack *track);
-
+ GstElement *element);
+gboolean mate_volume_control_element_whitelist (GstMixer *mixer,
+ GstMixerTrack *track);
+gboolean mate_volume_control_element_is_to_show (GSettings *settings,
+ GstMixer *mixer,
+ GstMixerTrack *track);
G_END_DECLS
#endif /* __GVC_ELEMENT_H__ */