aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-list-iterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-list-iterator.h')
-rw-r--r--e-util/e-list-iterator.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/e-util/e-list-iterator.h b/e-util/e-list-iterator.h
index 6903015002..b3a8953d80 100644
--- a/e-util/e-list-iterator.h
+++ b/e-util/e-list-iterator.h
@@ -15,16 +15,17 @@ typedef struct _EListIteratorClass EListIteratorClass;
#include <stdio.h>
#include <time.h>
-#include <gtk/gtkobject.h>
+#include <glib.h>
+#include <glib-object.h>
#include <e-util/e-iterator.h>
#include <e-util/e-list.h>
#define E_TYPE_LIST_ITERATOR (e_list_iterator_get_type ())
-#define E_LIST_ITERATOR(obj) (GTK_CHECK_CAST ((obj), E_TYPE_LIST_ITERATOR, EListIterator))
-#define E_LIST_ITERATOR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_LIST_ITERATOR, EListIteratorClass))
-#define E_IS_LIST_ITERATOR(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_LIST_ITERATOR))
-#define E_IS_LIST_ITERATOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), E_TYPE_LIST_ITERATOR))
+#define E_LIST_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_LIST_ITERATOR, EListIterator))
+#define E_LIST_ITERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_LIST_ITERATOR, EListIteratorClass))
+#define E_IS_LIST_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_LIST_ITERATOR))
+#define E_IS_LIST_ITERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), E_TYPE_LIST_ITERATOR))
struct _EListIterator {
EIterator parent;
@@ -39,7 +40,7 @@ struct _EListIteratorClass {
EIterator *e_list_iterator_new (EList *list);
-/* Standard Gtk function */
-GtkType e_list_iterator_get_type (void);
+/* Standard Glib function */
+GType e_list_iterator_get_type (void);
#endif /* ! __E_LIST_ITERATOR_H__ */