diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-07-01 12:35:17 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-07-01 12:35:17 -0500 |
commit | 37694a94d8c188b909740f2eed7a984273dc2320 (patch) | |
tree | b598fe54d935c386134308d7bf12597da941c8f2 /src/backend-dbus | |
parent | b252745c8111c9be1d7e95a88daab1e2568b1afc (diff) | |
download | ayatana-indicator-session-37694a94d8c188b909740f2eed7a984273dc2320.tar.gz ayatana-indicator-session-37694a94d8c188b909740f2eed7a984273dc2320.tar.bz2 ayatana-indicator-session-37694a94d8c188b909740f2eed7a984273dc2320.zip |
in backend-dbus/actions.c's set_dm_seat(), since we don't listen to displaymanager's signals anymore, remove unnecessary g_signal_handlers_disconnect() call.
Diffstat (limited to 'src/backend-dbus')
-rw-r--r-- | src/backend-dbus/actions.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/backend-dbus/actions.c b/src/backend-dbus/actions.c index 8c1b70b..1756a0f 100644 --- a/src/backend-dbus/actions.c +++ b/src/backend-dbus/actions.c @@ -123,17 +123,10 @@ set_dm_seat (IndicatorSessionActionsDbus * self, DisplayManagerSeat * seat) { priv_t * p = self->priv; - if (p->dm_seat != NULL) - { - g_signal_handlers_disconnect_by_data (p->dm_seat, self); - g_clear_object (&p->dm_seat); - } + g_clear_object (&p->dm_seat); if (seat != NULL) - { - p->dm_seat = g_object_ref (seat); - /*g_signal_connect (seat, "notify::has-actions-account", G_CALLBACK(on_notify_has_actions_account), self);*/ - } + p->dm_seat = g_object_ref (seat); } static void |