diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-07 23:25:07 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-07 23:39:47 +0800 |
commit | cd76c782bdfdae2efec7ff718fcc85c5559862c2 (patch) | |
tree | 1ca61d6c8c2a8a8496e38bc02656b87d536e940b /modules/calendar | |
parent | 90cacf75ddd1eee547777935158674569417c684 (diff) | |
download | gsoc2013-evolution-cd76c782bdfdae2efec7ff718fcc85c5559862c2.tar.gz gsoc2013-evolution-cd76c782bdfdae2efec7ff718fcc85c5559862c2.tar.zst gsoc2013-evolution-cd76c782bdfdae2efec7ff718fcc85c5559862c2.zip |
Miscellaneous cleanups.
Diffstat (limited to 'modules/calendar')
-rw-r--r-- | modules/calendar/e-cal-shell-content.c | 13 | ||||
-rw-r--r-- | modules/calendar/e-memo-shell-content.c | 7 | ||||
-rw-r--r-- | modules/calendar/e-task-shell-content.c | 7 |
3 files changed, 16 insertions, 11 deletions
diff --git a/modules/calendar/e-cal-shell-content.c b/modules/calendar/e-cal-shell-content.c index cccc9993e8..6e35a1fc66 100644 --- a/modules/calendar/e-cal-shell-content.c +++ b/modules/calendar/e-cal-shell-content.c @@ -319,8 +319,8 @@ gc_get_default_time (ECalModel *model, static void cal_shell_content_is_editing_changed_cb (gpointer cal_view_tasks_memos_table, - GParamSpec *param, - EShellView *shell_view) + GParamSpec *param, + EShellView *shell_view) { g_return_if_fail (E_IS_SHELL_VIEW (shell_view)); @@ -408,7 +408,8 @@ cal_shell_content_constructed (GObject *object) for (ii = 0; ii < GNOME_CAL_LAST_VIEW; ii++) { calendar_view = gnome_calendar_get_calendar_view (calendar, ii); - g_signal_connect (calendar_view, "notify::is-editing", + g_signal_connect ( + calendar_view, "notify::is-editing", G_CALLBACK (cal_shell_content_is_editing_changed_cb), shell_view); gtk_notebook_append_page ( @@ -465,7 +466,8 @@ cal_shell_content_constructed (GObject *object) G_CALLBACK (e_cal_shell_view_taskpad_open_task), shell_view); - g_signal_connect (widget, "notify::is-editing", + g_signal_connect ( + widget, "notify::is-editing", G_CALLBACK (cal_shell_content_is_editing_changed_cb), shell_view); container = priv->vpaned; @@ -510,7 +512,8 @@ cal_shell_content_constructed (GObject *object) G_CALLBACK (e_cal_shell_view_memopad_open_memo), shell_view); - g_signal_connect (widget, "notify::is-editing", + g_signal_connect ( + widget, "notify::is-editing", G_CALLBACK (cal_shell_content_is_editing_changed_cb), shell_view); /* Load the view instance. */ diff --git a/modules/calendar/e-memo-shell-content.c b/modules/calendar/e-memo-shell-content.c index ec97019f65..bf715ec4d9 100644 --- a/modules/calendar/e-memo-shell-content.c +++ b/modules/calendar/e-memo-shell-content.c @@ -292,8 +292,8 @@ memo_shell_content_restore_state_cb (EShellWindow *shell_window, static void memo_shell_content_is_editing_changed_cb (EMemoTable *memo_table, - GParamSpec *param, - EShellView *shell_view) + GParamSpec *param, + EShellView *shell_view) { g_return_if_fail (E_IS_SHELL_VIEW (shell_view)); @@ -532,7 +532,8 @@ memo_shell_content_constructed (GObject *object) G_CALLBACK (memo_shell_content_selection_change_cb), object); - g_signal_connect (priv->memo_table, "notify::is-editing", + g_signal_connect ( + priv->memo_table, "notify::is-editing", G_CALLBACK (memo_shell_content_is_editing_changed_cb), shell_view); g_signal_connect_swapped ( diff --git a/modules/calendar/e-task-shell-content.c b/modules/calendar/e-task-shell-content.c index 33c65081c4..cff476d4b0 100644 --- a/modules/calendar/e-task-shell-content.c +++ b/modules/calendar/e-task-shell-content.c @@ -291,8 +291,8 @@ task_shell_content_restore_state_cb (EShellWindow *shell_window, static void task_shell_content_is_editing_changed_cb (ETaskTable *task_table, - GParamSpec *param, - EShellView *shell_view) + GParamSpec *param, + EShellView *shell_view) { g_return_if_fail (E_IS_SHELL_VIEW (shell_view)); @@ -531,7 +531,8 @@ task_shell_content_constructed (GObject *object) G_CALLBACK (task_shell_content_selection_change_cb), object); - g_signal_connect (priv->task_table, "notify::is-editing", + g_signal_connect ( + priv->task_table, "notify::is-editing", G_CALLBACK (task_shell_content_is_editing_changed_cb), shell_view); g_signal_connect_swapped ( |