diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-10-20 23:15:41 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-10-20 23:15:41 +0800 |
commit | 7a6be11ea62647cba65625b2f65b944f22e65288 (patch) | |
tree | 8f41115a00c37265259b35df7c0a7c7d80736f61 /shell/e-shell-taskbar.c | |
parent | 431d7188c500d2879b015a308513e7388be19b00 (diff) | |
download | gsoc2013-evolution-7a6be11ea62647cba65625b2f65b944f22e65288.tar gsoc2013-evolution-7a6be11ea62647cba65625b2f65b944f22e65288.tar.gz gsoc2013-evolution-7a6be11ea62647cba65625b2f65b944f22e65288.tar.bz2 gsoc2013-evolution-7a6be11ea62647cba65625b2f65b944f22e65288.tar.lz gsoc2013-evolution-7a6be11ea62647cba65625b2f65b944f22e65288.tar.xz gsoc2013-evolution-7a6be11ea62647cba65625b2f65b944f22e65288.tar.zst gsoc2013-evolution-7a6be11ea62647cba65625b2f65b944f22e65288.zip |
Miscellaeous cleanups.
Diffstat (limited to 'shell/e-shell-taskbar.c')
-rw-r--r-- | shell/e-shell-taskbar.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/shell/e-shell-taskbar.c b/shell/e-shell-taskbar.c index 53db054cfa..d8f3bfc989 100644 --- a/shell/e-shell-taskbar.c +++ b/shell/e-shell-taskbar.c @@ -90,7 +90,7 @@ shell_taskbar_free_idle_data (gpointer data) static void shell_taskbar_remove_proxy_container (EShellTaskbar *shell_taskbar, - GtkWidget *proxy) + GtkWidget *proxy) { GList *children; GtkContainer *container; @@ -141,7 +141,9 @@ shell_taskbar_weak_notify_cb (EShellTaskbar *shell_taskbar, idle_data->shell_taskbar = g_object_ref (shell_taskbar); idle_data->proxy = proxy; - g_idle_add_full (G_PRIORITY_DEFAULT, shell_taskbar_remove_proxy_container_idle_cb, + g_idle_add_full ( + G_PRIORITY_DEFAULT, + shell_taskbar_remove_proxy_container_idle_cb, idle_data, shell_taskbar_free_idle_data); } } @@ -200,7 +202,7 @@ shell_taskbar_add_activity_idle_cb (gpointer user_data) static void shell_taskbar_activity_added_cb (EShellTaskbar *shell_taskbar, - EActivity *activity) + EActivity *activity) { if (shell_taskbar->priv->main_thread == g_thread_self ()) { shell_taskbar_activity_add (shell_taskbar, activity); @@ -211,7 +213,9 @@ shell_taskbar_activity_added_cb (EShellTaskbar *shell_taskbar, idle_data->shell_taskbar = g_object_ref (shell_taskbar); idle_data->activity = g_object_ref (activity); - g_idle_add_full (G_PRIORITY_DEFAULT, shell_taskbar_add_activity_idle_cb, + g_idle_add_full ( + G_PRIORITY_DEFAULT, + shell_taskbar_add_activity_idle_cb, idle_data, shell_taskbar_free_idle_data); } } |