diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-06-30 13:36:32 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-06-30 13:36:32 +0800 |
commit | 55499e0ce4bb8a081d12e7243a0dd42aa55bbbfd (patch) | |
tree | 6efa90b13a9dc59a015ed62ac22bb8f2d01881fb /shell/e-storage-set.c | |
parent | f5fa17c2d0a2069e25d0b49aaf5fd4e8ea8dc4da (diff) | |
download | gsoc2013-evolution-55499e0ce4bb8a081d12e7243a0dd42aa55bbbfd.tar.gz gsoc2013-evolution-55499e0ce4bb8a081d12e7243a0dd42aa55bbbfd.tar.zst gsoc2013-evolution-55499e0ce4bb8a081d12e7243a0dd42aa55bbbfd.zip |
EvolutionShellClient.
svn path=/trunk/; revision=3820
Diffstat (limited to 'shell/e-storage-set.c')
-rw-r--r-- | shell/e-storage-set.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/e-storage-set.c b/shell/e-storage-set.c index a779023bab..f24a3ac05c 100644 --- a/shell/e-storage-set.c +++ b/shell/e-storage-set.c @@ -214,8 +214,7 @@ class_init (EStorageSetClass *klass) GtkObjectClass *object_class; parent_class = gtk_type_class (gtk_object_get_type ()); - - object_class = (GtkObjectClass*) klass; + object_class = GTK_OBJECT_CLASS (klass); object_class->destroy = destroy; @@ -260,6 +259,8 @@ init (EStorageSet *storage_set) { EStorageSetPrivate *priv; + g_return_if_fail (E_IS_STORAGE_SET (storage_set)); + priv = g_new (EStorageSetPrivate, 1); priv->storages = NULL; priv->name_to_named_storage = g_hash_table_new (g_str_hash, g_str_equal); |