diff options
author | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-16 04:11:38 +0800 |
---|---|---|
committer | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-16 04:16:09 +0800 |
commit | cef8bd60e1ff505cc686792440424b57252e4c37 (patch) | |
tree | 54329aa71f6d195ac1a9409766d1bf7a4c31890a /mail | |
parent | 6818a05259d2598c84812d4709a007fb58da59ef (diff) | |
download | gsoc2013-evolution-cef8bd60e1ff505cc686792440424b57252e4c37.tar gsoc2013-evolution-cef8bd60e1ff505cc686792440424b57252e4c37.tar.gz gsoc2013-evolution-cef8bd60e1ff505cc686792440424b57252e4c37.tar.bz2 gsoc2013-evolution-cef8bd60e1ff505cc686792440424b57252e4c37.tar.lz gsoc2013-evolution-cef8bd60e1ff505cc686792440424b57252e4c37.tar.xz gsoc2013-evolution-cef8bd60e1ff505cc686792440424b57252e4c37.tar.zst gsoc2013-evolution-cef8bd60e1ff505cc686792440424b57252e4c37.zip |
Use the boxed CamelObject type for signal params in MailFolderCache
Previously I was just using G_TYPE_POINTER. Use the boxed camel object type
from e-util.h instead. When camel-gobject lands, we'll use G_TYPE_OBJECT
instead.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mail-folder-cache.c | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index 6b39e7f269..f43e16e7b8 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -49,6 +49,7 @@ #include <libedataserver/e-data-server-util.h> #include "e-util/e-marshal.h" +#include "e-util/e-util.h" #include "mail-mt.h" #include "mail-folder-cache.h" @@ -1184,9 +1185,9 @@ mail_folder_cache_class_init (MailFolderCacheClass *klass) G_SIGNAL_RUN_FIRST, 0, /* struct offset */ NULL, NULL, /* accumulator */ - e_marshal_VOID__POINTER_STRING, + e_marshal_VOID__BOXED_STRING, G_TYPE_NONE, 2, - G_TYPE_POINTER, G_TYPE_STRING); + E_TYPE_CAMEL_OBJECT, G_TYPE_STRING); /** * MailFolderCache::folder-unavailable @@ -1203,9 +1204,9 @@ mail_folder_cache_class_init (MailFolderCacheClass *klass) G_SIGNAL_RUN_FIRST, 0, /* struct offset */ NULL, NULL, /* accumulator */ - e_marshal_VOID__POINTER_STRING, + e_marshal_VOID__BOXED_STRING, G_TYPE_NONE, 2, - G_TYPE_POINTER, G_TYPE_STRING); + E_TYPE_CAMEL_OBJECT, G_TYPE_STRING); /** * MailFolderCache::folder-deleted @@ -1220,9 +1221,9 @@ mail_folder_cache_class_init (MailFolderCacheClass *klass) G_SIGNAL_RUN_FIRST, 0, /* struct offset */ NULL, NULL, /* accumulator */ - e_marshal_VOID__POINTER_STRING, + e_marshal_VOID__BOXED_STRING, G_TYPE_NONE, 2, - G_TYPE_POINTER, G_TYPE_STRING); + E_TYPE_CAMEL_OBJECT, G_TYPE_STRING); /** * MailFolderCache::folder-renamed @@ -1238,9 +1239,9 @@ mail_folder_cache_class_init (MailFolderCacheClass *klass) G_SIGNAL_RUN_FIRST, 0, /* struct offset */ NULL, NULL, /* accumulator */ - e_marshal_VOID__POINTER_STRING_STRING, + e_marshal_VOID__BOXED_STRING_STRING, G_TYPE_NONE, 3, - G_TYPE_POINTER, G_TYPE_STRING, G_TYPE_STRING); + E_TYPE_CAMEL_OBJECT, G_TYPE_STRING, G_TYPE_STRING); /** * MailFolderCache::folder-unread-updated @@ -1256,9 +1257,9 @@ mail_folder_cache_class_init (MailFolderCacheClass *klass) G_SIGNAL_RUN_FIRST, 0, /* struct offset */ NULL, NULL, /* accumulator */ - e_marshal_VOID__POINTER_STRING_INT, + e_marshal_VOID__BOXED_STRING_INT, G_TYPE_NONE, 3, - G_TYPE_POINTER, G_TYPE_STRING, G_TYPE_INT); + E_TYPE_CAMEL_OBJECT, G_TYPE_STRING, G_TYPE_INT); /** * MailFolderCache::folder-changed @@ -1279,9 +1280,9 @@ mail_folder_cache_class_init (MailFolderCacheClass *klass) G_SIGNAL_RUN_FIRST, 0, /* struct offset */ NULL, NULL, /* accumulator */ - e_marshal_VOID__POINTER_STRING_STRING_INT_STRING_STRING_STRING, + e_marshal_VOID__BOXED_STRING_STRING_INT_STRING_STRING_STRING, G_TYPE_NONE, 7, - G_TYPE_POINTER, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, + E_TYPE_CAMEL_OBJECT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); } |