From 55499e0ce4bb8a081d12e7243a0dd42aa55bbbfd Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 30 Jun 2000 05:36:32 +0000 Subject: EvolutionShellClient. svn path=/trunk/; revision=3820 --- shell/e-storage-set.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'shell/e-storage-set.c') 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); -- cgit