From e02c210303e0b99f169b93a4ec8ee90b98ad20b1 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 15 Nov 2002 01:11:37 +0000 Subject: e-shell-user-creatable-items-handler.c, Changed into a GObject subclass * e-shell-user-creatable-items-handler.c, * e-shell-user-creatable-items-handler.c: Changed into a GObject subclass instead of a GtkObject subclass. * e-component-registry.c, * e-component-registri.h: Changed into a GObject subclass instead of a GtkObject subclass. * evolution-shell-view.c (impl_ShellView_set_message): Remove bogus GTK_OBJECT() cast in call to g_signal_emit(). (impl_ShellView_unset_message): Likewise. (impl_ShellView_change_current_view): Likewise. (impl_ShellView_set_title): Likewise. svn path=/trunk/; revision=18769 --- shell/e-component-registry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shell/e-component-registry.c') diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c index 448103c880..244d2ba7df 100644 --- a/shell/e-component-registry.c +++ b/shell/e-component-registry.c @@ -39,8 +39,8 @@ #include "evolution-shell-component-client.h" -#define PARENT_TYPE GTK_TYPE_OBJECT -static GtkObjectClass *parent_class = NULL; +#define PARENT_TYPE G_TYPE_OBJECT +static GObjectClass *parent_class = NULL; typedef struct _Component Component; @@ -348,7 +348,7 @@ class_init (EComponentRegistryClass *klass) object_class->dispose = impl_dispose; object_class->finalize = impl_finalize; - parent_class = gtk_type_class (gtk_object_get_type ()); + parent_class = gtk_type_class (PARENT_TYPE); } -- cgit v1.2.3