[evolution-couchdb] calendar: Some fixes



commit 9f3587fbdf03557ef63112d721c48c56ae098e0e
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Tue Jun 21 17:30:44 2011 +0200

    calendar: Some fixes

 calendar/e-cal-backend-couchdb-factory.c |   17 +++++++++--------
 calendar/e-cal-backend-couchdb-factory.h |    4 ++--
 2 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/calendar/e-cal-backend-couchdb-factory.c b/calendar/e-cal-backend-couchdb-factory.c
index 15a84ef..605f306 100644
--- a/calendar/e-cal-backend-couchdb-factory.c
+++ b/calendar/e-cal-backend-couchdb-factory.c
@@ -17,6 +17,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
  * Authors: Miguel Angel Rodelas Delgado <miguel rodelas gmail com>
+ *          Rodrigo Moya <rodrigo moya canonical com>
  */
 
 #ifdef CONFIG_H
@@ -30,13 +31,13 @@
 #include "e-cal-backend-couchdb-factory.h"
 #include "e-cal-backend-couchdb.h"
 
-typedef ECalBackendFactory      ECalBackendCouchdbTodosFactory;
-typedef ECalBackendFactoryClass ECalBackendCouchdbTodosFactoryClass;
+typedef ECalBackendFactory      ECalBackendCouchDBTodosFactory;
+typedef ECalBackendFactoryClass ECalBackendCouchDBTodosFactoryClass;
 
 GType e_cal_backend_couchdb_todos_factory_get_type (void);
 
 G_DEFINE_DYNAMIC_TYPE(
-	ECalBackendCouchdbTodosFactory,
+	ECalBackendCouchDBTodosFactory,
 	e_cal_backend_couchdb_todos_factory,
 	E_TYPE_CAL_BACKEND_FACTORY)
 
@@ -63,11 +64,6 @@ todos_get_kind (ECalBackendFactory *factory)
 }
 
 static void
-e_cal_backend_couchdb_todos_factory_init (ECalBackendFactory *factory)
-{
-}
-
-static void
 e_cal_backend_couchdb_todos_factory_class_init (ECalBackendFactoryClass *klass)
 {
 	klass->get_protocol = get_protocol;
@@ -80,6 +76,11 @@ e_cal_backend_couchdb_todos_factory_class_finalize (ECalBackendFactoryClass *kla
 {
 }
 
+static void
+e_cal_backend_couchdb_todos_factory_init (ECalBackendFactory *factory)
+{
+}
+
 void
 eds_module_initialize (GTypeModule *module)
 {
diff --git a/calendar/e-cal-backend-couchdb-factory.h b/calendar/e-cal-backend-couchdb-factory.h
index 026bf65..f0cbda8 100644
--- a/calendar/e-cal-backend-couchdb-factory.h
+++ b/calendar/e-cal-backend-couchdb-factory.h
@@ -22,8 +22,8 @@
 #ifndef _E_CAL_BACKEND_COUCHDB_FACTORY_H
 #define _E_CAL_BACKEND_COUCHDB_FACTORY_H
 
-#include<glib.h>
-#include "libedata-cal/e-cal-backend-factory.h"
+#include <glib.h>
+#include <libedata-cal/e-cal-backend-factory.h>
 
 G_BEGIN_DECLS
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]