diff options
author | Michael Meeks <michael.meeks@novell.com> | 2010-08-21 03:03:21 +0800 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-08-21 03:04:37 +0800 |
commit | acb73cd1058e5351a80408ba49975eb5ba73287a (patch) | |
tree | 0f2166eeb1c33df7f4f094a8563de5da7b509b9b /modules/calendar | |
parent | 44a6aed772d7b1aca9b1679f5208d5def608e1bf (diff) | |
download | gsoc2013-evolution-acb73cd1058e5351a80408ba49975eb5ba73287a.tar gsoc2013-evolution-acb73cd1058e5351a80408ba49975eb5ba73287a.tar.gz gsoc2013-evolution-acb73cd1058e5351a80408ba49975eb5ba73287a.tar.bz2 gsoc2013-evolution-acb73cd1058e5351a80408ba49975eb5ba73287a.tar.lz gsoc2013-evolution-acb73cd1058e5351a80408ba49975eb5ba73287a.tar.xz gsoc2013-evolution-acb73cd1058e5351a80408ba49975eb5ba73287a.tar.zst gsoc2013-evolution-acb73cd1058e5351a80408ba49975eb5ba73287a.zip |
Fix more non-removal of signals on user_data object distruction by
using g_signal_connect_object in many places; fixes bgo#627525#
Diffstat (limited to 'modules/calendar')
-rw-r--r-- | modules/calendar/e-task-shell-view-private.c | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/modules/calendar/e-task-shell-view-private.c b/modules/calendar/e-task-shell-view-private.c index 291f967015..e5cf75711c 100644 --- a/modules/calendar/e-task-shell-view-private.c +++ b/modules/calendar/e-task-shell-view-private.c @@ -246,80 +246,80 @@ e_task_shell_view_private_constructed (ETaskShellView *task_shell_view) task_shell_sidebar = E_TASK_SHELL_SIDEBAR (shell_sidebar); selector = e_task_shell_sidebar_get_selector (task_shell_sidebar); - g_signal_connect_swapped ( + g_signal_connect_object ( model, "notify::timezone", G_CALLBACK (e_task_shell_view_update_timezone), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); - g_signal_connect_swapped ( + g_signal_connect_object ( model, "row-appended", G_CALLBACK (task_shell_view_model_row_appended_cb), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); - g_signal_connect_swapped ( + g_signal_connect_object ( task_table, "open-component", G_CALLBACK (e_task_shell_view_open_task), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); - g_signal_connect_swapped ( + g_signal_connect_object ( task_table, "popup-event", G_CALLBACK (task_shell_view_table_popup_event_cb), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); - g_signal_connect_swapped ( + g_signal_connect_object ( task_table, "selection-change", G_CALLBACK (e_task_shell_view_update_sidebar), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); - g_signal_connect_swapped ( + g_signal_connect_object ( task_table, "selection-change", G_CALLBACK (e_shell_view_update_actions), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); - g_signal_connect_swapped ( + g_signal_connect_object ( task_table, "status-message", G_CALLBACK (e_task_shell_view_set_status_message), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); - g_signal_connect_swapped ( + g_signal_connect_object ( model, "model-changed", G_CALLBACK (e_task_shell_view_update_sidebar), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); - g_signal_connect_swapped ( + g_signal_connect_object ( model, "model-rows-deleted", G_CALLBACK (e_task_shell_view_update_sidebar), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); - g_signal_connect_swapped ( + g_signal_connect_object ( model, "model-rows-inserted", G_CALLBACK (e_task_shell_view_update_sidebar), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); - g_signal_connect_swapped ( + g_signal_connect_object ( task_shell_sidebar, "client-added", G_CALLBACK (task_shell_view_selector_client_added_cb), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); - g_signal_connect_swapped ( + g_signal_connect_object ( task_shell_sidebar, "client-removed", G_CALLBACK (task_shell_view_selector_client_removed_cb), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); - g_signal_connect_swapped ( + g_signal_connect_object ( task_shell_sidebar, "status-message", G_CALLBACK (e_task_shell_view_set_status_message), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); - g_signal_connect_swapped ( + g_signal_connect_object ( selector, "popup-event", G_CALLBACK (task_shell_view_selector_popup_event_cb), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); - g_signal_connect_swapped ( + g_signal_connect_object ( selector, "primary-selection-changed", G_CALLBACK (e_shell_view_update_actions), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); e_categories_add_change_hook ( (GHookFunc) e_task_shell_view_update_search_filter, @@ -336,18 +336,18 @@ e_task_shell_view_private_constructed (ETaskShellView *task_shell_view) model, "default-client"); /* Hide Completed Tasks (enable/units/value) */ - g_signal_connect_swapped ( + g_signal_connect_object ( shell_settings, "notify::cal-hide-completed-tasks", G_CALLBACK (task_shell_view_process_completed_tasks), - task_shell_view); - g_signal_connect_swapped ( + task_shell_view, G_CONNECT_SWAPPED); + g_signal_connect_object ( shell_settings, "notify::cal-hide-completed-tasks-units", G_CALLBACK (task_shell_view_process_completed_tasks), - task_shell_view); - g_signal_connect_swapped ( + task_shell_view, G_CONNECT_SWAPPED); + g_signal_connect_object ( shell_settings, "notify::cal-hide-completed-tasks-value", G_CALLBACK (task_shell_view_process_completed_tasks), - task_shell_view); + task_shell_view, G_CONNECT_SWAPPED); e_task_shell_view_actions_init (task_shell_view); e_task_shell_view_update_sidebar (task_shell_view); |