[tracker/rss-enclosures] plugins/evolution: Reflow ifdef/elseif blocks



commit 5776aacbf9adc2188b1110298f1bfb4e0ed2f54e
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]