evolution r36084 - branches/mail-dbus-remoting/mail



Author: sragavan
Date: Tue Aug 26 15:08:43 2008
New Revision: 36084
URL: http://svn.gnome.org/viewvc/evolution?rev=36084&view=rev

Log:
Name things right.


Modified:
   branches/mail-dbus-remoting/mail/camel-object-remote.c
   branches/mail-dbus-remoting/mail/camel-object-remote.h

Modified: branches/mail-dbus-remoting/mail/camel-object-remote.c
==============================================================================
--- branches/mail-dbus-remoting/mail/camel-object-remote.c	(original)
+++ branches/mail-dbus-remoting/mail/camel-object-remote.c	Tue Aug 26 15:08:43 2008
@@ -64,9 +64,9 @@
 }
 
 unsigned int
-camel_object_remote_hook_event (CamelRemoteObject *object, char *signal, CamelObjectEventHookFunc func, gpointer data)
+camel_object_remote_hook_event (CamelObjectRemote *object, char *signal, CamelObjectEventHookFunc func, gpointer data)
 {
-	CamelRemoteHook *hook;
+	CamelHookRemote *hook;
 	gboolean ret;
 	DBusError error;
 	char *hash;
@@ -79,7 +79,7 @@
 		register_handler (CAMEL_FOLDER_OBJECT_PATH, dbus_listener_folder_handler, NULL);
 	}
 
-	hook = g_new (CamelRemoteHook, 1);
+	hook = g_new (CamelHookRemote, 1);
 	hook->object_id = g_strdup (object->object_id);
 	hook->signal = g_strdup (signal);
 	hook->func = func;

Modified: branches/mail-dbus-remoting/mail/camel-object-remote.h
==============================================================================
--- branches/mail-dbus-remoting/mail/camel-object-remote.h	(original)
+++ branches/mail-dbus-remoting/mail/camel-object-remote.h	Tue Aug 26 15:08:43 2008
@@ -21,13 +21,13 @@
 #define CAMEL_STORE_INTERFACE "org.gnome.evolution.camel.store"
 #define CAMEL_FOLDER_INTERFACE "org.gnome.evolution.camel.folder"
 
-typedef struct _CamelRemoteHook {
+typedef struct _CamelHookRemote {
 	char *object_id;
 	char *signal;
 	CamelObjectEventHookFunc func;
 	gpointer data;
 	guint remote_id;
-}CamelRemoteHook;
+}CamelHookRemote;
 
 typedef enum {
 	CAMEL_RO_SESSION=0,
@@ -37,14 +37,14 @@
 }CamelRemoteObjectType;
 
 
-typedef struct _CamelRemoteObject {
+typedef struct _CamelObjectRemote {
 	char *object_id;
 	CamelRemoteObjectType type;
 	GList *hooks; /* Hooks of CamelRemoteHook */
-}CamelRemoteObject;
+}CamelObjectRemote;
 
 
 unsigned int
-camel_object_remote_hook_event (CamelRemoteObject *object, char *signal, CamelObjectEventHookFunc func, gpointer data);
+camel_object_remote_hook_event (CamelObjectRemote *object, char *signal, CamelObjectEventHookFunc func, gpointer data);
 
 #endif



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