aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-registry.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-15 09:11:37 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-15 09:11:37 +0800
commite02c210303e0b99f169b93a4ec8ee90b98ad20b1 (patch)
tree2e3a4a7eecd740b1259fc2c3cf4d011d85e85f94 /shell/e-component-registry.c
parentb75c80d63f8aa474b8ba14318b8c89f2c13be845 (diff)
downloadgsoc2013-evolution-e02c210303e0b99f169b93a4ec8ee90b98ad20b1.tar.gz
gsoc2013-evolution-e02c210303e0b99f169b93a4ec8ee90b98ad20b1.tar.zst
gsoc2013-evolution-e02c210303e0b99f169b93a4ec8ee90b98ad20b1.zip
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
Diffstat (limited to 'shell/e-component-registry.c')
-rw-r--r--shell/e-component-registry.c6
1 files changed, 3 insertions, 3 deletions
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);
}