diff options
Diffstat (limited to 'applets/wncklet/workspace-switcher.c')
-rw-r--r-- | applets/wncklet/workspace-switcher.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c index 05ca4432..cdeca09c 100644 --- a/applets/wncklet/workspace-switcher.c +++ b/applets/wncklet/workspace-switcher.c @@ -961,18 +961,8 @@ static void display_properties_dialog(GtkAction* action, PagerData* pager) static void destroy_pager(GtkWidget* widget, PagerData* pager) { - g_signal_handlers_disconnect_by_func (pager->settings, - G_CALLBACK (num_rows_changed), - pager); - g_signal_handlers_disconnect_by_func (pager->settings, - G_CALLBACK (display_workspace_names_changed), - pager); - g_signal_handlers_disconnect_by_func (pager->settings, - G_CALLBACK (all_workspaces_changed), - pager); - g_signal_handlers_disconnect_by_func (pager->settings, - G_CALLBACK (wrap_workspaces_changed), - pager); + g_signal_handlers_disconnect_by_data (pager->settings, pager); + g_object_unref (pager->settings); if (pager->properties_dialog) |