[tracker/gdbus] plugins/evolution: Reflow ifdef/elseif blocks
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus] plugins/evolution: Reflow ifdef/elseif blocks
- Date: Thu, 28 Oct 2010 12:11:17 +0000 (UTC)
commit 580569927667910a0a46efddb429b2b9dbf50ce6
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Oct 28 10:23:57 2010 +0200
plugins/evolution: Reflow ifdef/elseif blocks
src/plugins/evolution/tracker-evolution-plugin.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/src/plugins/evolution/tracker-evolution-plugin.c b/src/plugins/evolution/tracker-evolution-plugin.c
index fafaaaa..459f797 100644
--- a/src/plugins/evolution/tracker-evolution-plugin.c
+++ b/src/plugins/evolution/tracker-evolution-plugin.c
@@ -282,12 +282,9 @@ folder_registry_free (FolderRegistry *registry)
{
#ifdef HAVE_EDS_2_31_2
g_signal_handler_disconnect (registry->folder, registry->hook_info->hook_id);
-#else
- camel_object_remove_event (registry->folder, registry->hook_info->hook_id);
-#endif
-#ifdef HAVE_EDS_2_31_2
g_object_unref (registry->folder);
#else
+ camel_object_remove_event (registry->folder, registry->hook_info->hook_id);
camel_object_unref (registry->folder);
#endif
g_free (registry->hook_info->account_uri);
@@ -1342,8 +1339,8 @@ register_on_get_folder (gchar *uri, CamelFolder *folder, gpointer user_data)
#ifdef HAVE_EDS_2_31_2
hook_id = g_signal_connect (folder, "changed",
- G_CALLBACK (on_folder_summary_changed),
- registry->hook_info);
+ G_CALLBACK (on_folder_summary_changed),
+ registry->hook_info);
#else
hook_id = camel_object_hook_event (folder, "folder_changed",
CAMEL_CALLBACK (on_folder_summary_changed),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]