aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-sound.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-25 21:24:25 -0600
committerConor Curran <conor.curran@canonical.com>2011-01-25 21:24:25 -0600
commit7ff9e0aafc0562c8d07f8f5dae96780c7e5c01c3 (patch)
treeaf98180707d17f4e08b3fa91d5bd1dcaa71dd388 /src/indicator-sound.c
parentd20e8f85ca28589e486fd395bd2071d63b2069ae (diff)
downloadayatana-indicator-sound-7ff9e0aafc0562c8d07f8f5dae96780c7e5c01c3.tar.gz
ayatana-indicator-sound-7ff9e0aafc0562c8d07f8f5dae96780c7e5c01c3.tar.bz2
ayatana-indicator-sound-7ff9e0aafc0562c8d07f8f5dae96780c7e5c01c3.zip
on the pigs back ...
Diffstat (limited to 'src/indicator-sound.c')
-rw-r--r--src/indicator-sound.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c
index ea67011..71310f1 100644
--- a/src/indicator-sound.c
+++ b/src/indicator-sound.c
@@ -99,12 +99,6 @@ static void connection_changed (IndicatorServiceManager * sm,
gboolean connected,
gpointer userdata);
-static void g_signal_cb ( GDBusProxy* proxy,
- gchar* sender_name,
- gchar* signal_name,
- GVariant* parameters,
- gpointer user_data);
-
static void
indicator_sound_class_init (IndicatorSoundClass *klass)
{
@@ -177,8 +171,7 @@ static GtkImage *
get_icon (IndicatorObject * io)
{
IndicatorSoundPrivate* priv = INDICATOR_SOUND_GET_PRIVATE(INDICATOR_SOUND (io));
- gtk_widget_show( GTK_WIDGET(sound_state_manager_get_current_icon (priv->state_manager)) );
-
+ gtk_widget_show( GTK_WIDGET(sound_state_manager_get_current_icon (priv->state_manager)) );
return sound_state_manager_get_current_icon (priv->state_manager);
}
@@ -282,23 +275,9 @@ static void create_connection_to_service (GObject *source_object,
g_debug ("Connection to dbus seemed to work fine from the indicator side");
sound_state_manager_connect_to_dbus (priv->state_manager,
priv->dbus_proxy);
- g_signal_connect (priv->dbus_proxy, "g-signal",
- G_CALLBACK (g_signal_cb), self);
}
-static void
-g_signal_cb ( GDBusProxy* proxy,
- gchar* sender_name,
- gchar* signal_name,
- GVariant* parameters,
- gpointer user_data)
-{
- g_debug ( "!!! indicator-sound signal_cb" );
-}
-
-
-
static gboolean
new_transport_widget (DbusmenuMenuitem * newitem,
DbusmenuMenuitem * parent,
@@ -324,7 +303,6 @@ new_transport_widget (DbusmenuMenuitem * newitem,
newitem,
menu_transport_bar,
parent);
-
return TRUE;
}
@@ -346,7 +324,6 @@ new_metadata_widget (DbusmenuMenuitem * newitem,
gtk_widget_show_all(metadata);
dbusmenu_gtkclient_newitem_base (DBUSMENU_GTKCLIENT(client),
newitem, menu_metadata_widget, parent);
-
return TRUE;
}