aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree-model.c
diff options
context:
space:
mode:
authorMichael Meeks <michael@ximian.com>2001-10-05 07:52:20 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2001-10-05 07:52:20 +0800
commitc5f392ca0e8b878206a012da11522125e1d86342 (patch)
tree233134ebda3829cd036db9b66214cf8bd7415ef2 /widgets/table/e-tree-model.c
parent911659c6341a5376af81e7298219c0287c851ecc (diff)
downloadgsoc2013-evolution-c5f392ca0e8b878206a012da11522125e1d86342.tar.gz
gsoc2013-evolution-c5f392ca0e8b878206a012da11522125e1d86342.tar.zst
gsoc2013-evolution-c5f392ca0e8b878206a012da11522125e1d86342.zip
add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migration
2001-10-05 Michael Meeks <michael@ximian.com> * gal/util/e-util.h: add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migration to Gnome 2.0 from a single source base. * All C files: s/object_class->type,/E_OBJECT_CLASS_TYPE (object_class),/g; s/gtk_object_class_add_signals([^\(]*)\(([^,]*),([^,]*),([^\)]*)/ E_OBJECT_CLASS_ADD_SIGNALS\1(\2,\3,\4/; svn path=/trunk/; revision=13428
Diffstat (limited to 'widgets/table/e-tree-model.c')
-rw-r--r--widgets/table/e-tree-model.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/widgets/table/e-tree-model.c b/widgets/table/e-tree-model.c
index f304d1e0cf..fb011f14f1 100644
--- a/widgets/table/e-tree-model.c
+++ b/widgets/table/e-tree-model.c
@@ -55,7 +55,7 @@ e_tree_model_class_init (GtkObjectClass *klass)
e_tree_model_signals [PRE_CHANGE] =
gtk_signal_new ("pre_change",
GTK_RUN_LAST,
- klass->type,
+ E_OBJECT_CLASS_TYPE (klass),
GTK_SIGNAL_OFFSET (ETreeModelClass, pre_change),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
@@ -63,7 +63,7 @@ e_tree_model_class_init (GtkObjectClass *klass)
e_tree_model_signals [NODE_CHANGED] =
gtk_signal_new ("node_changed",
GTK_RUN_LAST,
- klass->type,
+ E_OBJECT_CLASS_TYPE (klass),
GTK_SIGNAL_OFFSET (ETreeModelClass, node_changed),
gtk_marshal_NONE__POINTER,
GTK_TYPE_NONE, 1, GTK_TYPE_POINTER);
@@ -71,7 +71,7 @@ e_tree_model_class_init (GtkObjectClass *klass)
e_tree_model_signals [NODE_DATA_CHANGED] =
gtk_signal_new ("node_data_changed",
GTK_RUN_LAST,
- klass->type,
+ E_OBJECT_CLASS_TYPE (klass),
GTK_SIGNAL_OFFSET (ETreeModelClass, node_data_changed),
gtk_marshal_NONE__POINTER,
GTK_TYPE_NONE, 1, GTK_TYPE_POINTER);
@@ -79,7 +79,7 @@ e_tree_model_class_init (GtkObjectClass *klass)
e_tree_model_signals [NODE_COL_CHANGED] =
gtk_signal_new ("node_col_changed",
GTK_RUN_LAST,
- klass->type,
+ E_OBJECT_CLASS_TYPE (klass),
GTK_SIGNAL_OFFSET (ETreeModelClass, node_col_changed),
gtk_marshal_NONE__POINTER_INT,
GTK_TYPE_NONE, 2, GTK_TYPE_POINTER, GTK_TYPE_INT);
@@ -87,7 +87,7 @@ e_tree_model_class_init (GtkObjectClass *klass)
e_tree_model_signals [NODE_INSERTED] =
gtk_signal_new ("node_inserted",
GTK_RUN_LAST,
- klass->type,
+ E_OBJECT_CLASS_TYPE (klass),
GTK_SIGNAL_OFFSET (ETreeModelClass, node_inserted),
gtk_marshal_NONE__POINTER_POINTER,
GTK_TYPE_NONE, 2, GTK_TYPE_POINTER, GTK_TYPE_POINTER);
@@ -95,12 +95,12 @@ e_tree_model_class_init (GtkObjectClass *klass)
e_tree_model_signals [NODE_REMOVED] =
gtk_signal_new ("node_removed",
GTK_RUN_LAST,
- klass->type,
+ E_OBJECT_CLASS_TYPE (klass),
GTK_SIGNAL_OFFSET (ETreeModelClass, node_removed),
e_marshal_NONE__POINTER_POINTER_INT,
GTK_TYPE_NONE, 3, GTK_TYPE_POINTER, GTK_TYPE_POINTER, GTK_TYPE_INT);
- gtk_object_class_add_signals (klass, e_tree_model_signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (klass, e_tree_model_signals, LAST_SIGNAL);
tree_class->get_root = NULL;