diff options
Diffstat (limited to 'e-util/e-iterator.c')
-rw-r--r-- | e-util/e-iterator.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/e-util/e-iterator.c b/e-util/e-iterator.c index 8bd14ee6c8..9abf424356 100644 --- a/e-util/e-iterator.c +++ b/e-util/e-iterator.c @@ -12,7 +12,7 @@ #include <gtk/gtksignal.h> #include "e-iterator.h" -#define ECI_CLASS(object) (E_ITERATOR_CLASS(GTK_OBJECT((object))->klass)) +#define ECI_CLASS(object) (E_ITERATOR_CLASS(GTK_CLASS_TYPE (object))) static void e_iterator_init (EIterator *card); static void e_iterator_class_init (EIteratorClass *klass); @@ -72,13 +72,11 @@ e_iterator_class_init (EIteratorClass *klass) e_iterator_signals [INVALIDATE] = gtk_signal_new ("invalidate", GTK_RUN_LAST, - object_class->type, + GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (EIteratorClass, invalidate), gtk_marshal_NONE__NONE, GTK_TYPE_NONE, 0); - gtk_object_class_add_signals (object_class, e_iterator_signals, LAST_SIGNAL); - klass->invalidate = NULL; klass->get = NULL; klass->reset = NULL; |