diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-01-25 19:28:29 -0600 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-01-25 19:28:29 -0600 |
commit | d20e8f85ca28589e486fd395bd2071d63b2069ae (patch) | |
tree | a1ff74cc4b631aeb645c47f851047aa20cda1685 /src/indicator-sound.c | |
parent | 9643b10b825c13fe46d211b6ab1cd2230392f299 (diff) | |
download | ayatana-indicator-sound-d20e8f85ca28589e486fd395bd2071d63b2069ae.tar.gz ayatana-indicator-sound-d20e8f85ca28589e486fd395bd2071d63b2069ae.tar.bz2 ayatana-indicator-sound-d20e8f85ca28589e486fd395bd2071d63b2069ae.zip |
tidy up
Diffstat (limited to 'src/indicator-sound.c')
-rw-r--r-- | src/indicator-sound.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c index 59b9c92..ea67011 100644 --- a/src/indicator-sound.c +++ b/src/indicator-sound.c @@ -99,6 +99,11 @@ 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) @@ -274,12 +279,26 @@ static void create_connection_to_service (GObject *source_object, g_error_free(error); return; } - + 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, |