diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-04-29 09:53:06 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-04-29 09:53:06 +0800 |
commit | 75741e52c3431a8fa16ed535329fb76cb2840100 (patch) | |
tree | 2e09d5f2ccd1008866355865e09bda4bb75f725a /e-util | |
parent | 9192f0dc883acfaff0fbe3f6a7f8e49672546a02 (diff) | |
download | gsoc2013-evolution-75741e52c3431a8fa16ed535329fb76cb2840100.tar gsoc2013-evolution-75741e52c3431a8fa16ed535329fb76cb2840100.tar.gz gsoc2013-evolution-75741e52c3431a8fa16ed535329fb76cb2840100.tar.bz2 gsoc2013-evolution-75741e52c3431a8fa16ed535329fb76cb2840100.tar.lz gsoc2013-evolution-75741e52c3431a8fa16ed535329fb76cb2840100.tar.xz gsoc2013-evolution-75741e52c3431a8fa16ed535329fb76cb2840100.tar.zst gsoc2013-evolution-75741e52c3431a8fa16ed535329fb76cb2840100.zip |
Fix compilation errors.
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-util.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c index 04be119657..071f5e58b8 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -1531,33 +1531,3 @@ e_camel_object_get_type (void) return type; } - -static gpointer -e_camel_object_copy (gpointer camel_object) -{ - if (CAMEL_IS_OBJECT (camel_object)) - camel_object_ref (camel_object); - - return camel_object; -} - -static void -e_camel_object_free (gpointer camel_object) -{ - if (CAMEL_IS_OBJECT (camel_object)) - camel_object_unref (camel_object); -} - -GType -e_camel_object_get_type (void) -{ - static GType type = 0; - - if (G_UNLIKELY (type == 0)) - type = g_boxed_type_register_static ( - "ECamelObject", - (GBoxedCopyFunc) e_camel_object_copy, - (GBoxedFreeFunc) e_camel_object_free); - - return type; -} |