aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-component-listener.h
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2002-11-05 19:37:58 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2002-11-05 19:37:58 +0800
commitf8bad518674ae650fdbbc65a38786afa5f16dc42 (patch)
treedc35f262790002ab8ff9ef2a95cc362fa84468a4 /e-util/e-component-listener.h
parent255e65abb34f0eac72e125f4e34dc68a23a4c7d1 (diff)
downloadgsoc2013-evolution-f8bad518674ae650fdbbc65a38786afa5f16dc42.tar
gsoc2013-evolution-f8bad518674ae650fdbbc65a38786afa5f16dc42.tar.gz
gsoc2013-evolution-f8bad518674ae650fdbbc65a38786afa5f16dc42.tar.bz2
gsoc2013-evolution-f8bad518674ae650fdbbc65a38786afa5f16dc42.tar.lz
gsoc2013-evolution-f8bad518674ae650fdbbc65a38786afa5f16dc42.tar.xz
gsoc2013-evolution-f8bad518674ae650fdbbc65a38786afa5f16dc42.tar.zst
gsoc2013-evolution-f8bad518674ae650fdbbc65a38786afa5f16dc42.zip
ported to GObject.
2002-11-05 Rodrigo Moya <rodrigo@ximian.com> * e-component-listener.[ch]: ported to GObject. * Makefile.am: re-enabled e-component-listener.[ch] svn path=/trunk/; revision=18546
Diffstat (limited to 'e-util/e-component-listener.h')
-rw-r--r--e-util/e-component-listener.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/e-util/e-component-listener.h b/e-util/e-component-listener.h
index b706c7cfa2..3ade575cea 100644
--- a/e-util/e-component-listener.h
+++ b/e-util/e-component-listener.h
@@ -11,32 +11,31 @@
#ifndef __E_COMPONENT_LISTENER_H__
#define __E_COMPONENT_LISTENER_H__
-#include <glib/gmacros.h>
+#include <glib-object.h>
#include <bonobo/Bonobo.h>
-#include <gtk/gtkobject.h>
G_BEGIN_DECLS
#define E_COMPONENT_LISTENER_TYPE (e_component_listener_get_type ())
-#define E_COMPONENT_LISTENER(o) (GTK_CHECK_CAST ((o), E_COMPONENT_LISTENER_TYPE, EComponentListener))
-#define E_COMPONENT_LISTENER_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_COMPONENT_LISTENER_TYPE, EComponentListenerClass))
-#define E_IS_COMPONENT_LISTENER(o) (GTK_CHECK_TYPE ((o), E_COMPONENT_LISTENER_TYPE))
-#define E_IS_COMPONENT_LISTENER_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_COMPONENT_LISTENER_TYPE))
+#define E_COMPONENT_LISTENER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_COMPONENT_LISTENER_TYPE, EComponentListener))
+#define E_COMPONENT_LISTENER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), E_COMPONENT_LISTENER_TYPE, EComponentListenerClass))
+#define E_IS_COMPONENT_LISTENER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_COMPONENT_LISTENER_TYPE))
+#define E_IS_COMPONENT_LISTENER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_COMPONENT_LISTENER_TYPE))
typedef struct _EComponentListenerPrivate EComponentListenerPrivate;
typedef struct {
- GtkObject object;
+ GObject object;
EComponentListenerPrivate *priv;
} EComponentListener;
typedef struct {
- GtkObjectClass parent_class;
+ GObjectClass parent_class;
void (* component_died) (EComponentListener *cl);
} EComponentListenerClass;
-GtkType e_component_listener_get_type (void);
+GType e_component_listener_get_type (void);
EComponentListener *e_component_listener_new (Bonobo_Unknown comp, int ping_delay);
int e_component_listener_get_ping_delay (EComponentListener *cl);