aboutsummaryrefslogtreecommitdiff
path: root/src/active-sink.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-02-03 20:16:00 +0000
committerConor Curran <conor.curran@canonical.com>2011-02-03 20:16:00 +0000
commit81c80e6e823127337573b3c522f78820e7635911 (patch)
treea1caae3a54cf03f9c277747ed4f1da78afda77a4 /src/active-sink.c
parentff857b05deb7f7385c9d4d8d43be19fca225c6ca (diff)
downloadayatana-indicator-sound-81c80e6e823127337573b3c522f78820e7635911.tar.gz
ayatana-indicator-sound-81c80e6e823127337573b3c522f78820e7635911.tar.bz2
ayatana-indicator-sound-81c80e6e823127337573b3c522f78820e7635911.zip
we have a replacement pulse manager in the baking - working very nicely indeed
Diffstat (limited to 'src/active-sink.c')
-rw-r--r--src/active-sink.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/active-sink.c b/src/active-sink.c
index 8ba88d8..c140fac 100644
--- a/src/active-sink.c
+++ b/src/active-sink.c
@@ -42,7 +42,6 @@ static void
active_sink_class_init (ActiveSinkClass *klass)
{
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
- GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
g_type_class_add_private (klass, sizeof (ActiveSinkPrivate));
@@ -53,7 +52,7 @@ active_sink_class_init (ActiveSinkClass *klass)
static void
active_sink_init(ActiveSink *self)
{
- ActiveSinkPrivate* priv = ACTIVE_SINK_GET_PRIVATE(sink);
+ ActiveSinkPrivate* priv = ACTIVE_SINK_GET_PRIVATE (self);
priv->details = NULL;
}
@@ -61,7 +60,7 @@ static void
active_sink_dispose (GObject *object)
{
ActiveSink * self = ACTIVE_SINK(object);
- ActiveSinkPrivate* priv = ACTIVE_SINK_GET_PRIVATE(sink);
+ ActiveSinkPrivate* priv = ACTIVE_SINK_GET_PRIVATE (self);
if (priv->details != NULL) {
g_free (priv->details->name);
@@ -84,11 +83,11 @@ active_sink_update_details (ActiveSink* sink, sink_details* details)
priv->details = details;
}
-void gboolean
+gboolean
active_sink_is_populated (ActiveSink* sink)
{
- ActiveSinkPrivate* priv = ACTIVE_SINK_GET_PRIVATE(sink);
- return (priv->details != NULL)
+ ActiveSinkPrivate* priv = ACTIVE_SINK_GET_PRIVATE (sink);
+ return (priv->details != NULL);
}
\ No newline at end of file