[evolution-data-server/dbus: 5/33] Make the backend factory type const



commit f45735513a5e9cff2006f896804a26ba0ec31c36
Author: Rob Bradford <rob linux intel com>
Date:   Fri Apr 24 17:08:42 2009 +0100

    Make the backend factory type const
---
 addressbook/libedata-book/e-book-backend-factory.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/addressbook/libedata-book/e-book-backend-factory.h b/addressbook/libedata-book/e-book-backend-factory.h
index 6c530c5..ffaa791 100644
--- a/addressbook/libedata-book/e-book-backend-factory.h
+++ b/addressbook/libedata-book/e-book-backend-factory.h
@@ -93,7 +93,7 @@ _ ## p ##_factory_get_type (GTypeModule *module) \
 { \
 	GType type; \
 \
-	GTypeInfo info = { \
+	const GTypeInfo info = { \
 		sizeof (EBookBackend##t##FactoryClass), \
 		NULL, /* base_class_init */ \
 		NULL, /* base_class_finalize */ \



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