aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-main-window.h
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2010-06-23 21:33:49 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2010-06-24 17:37:21 +0800
commit53ff0c11c8b340eb7038bade1a12a7c4bd5f4cac (patch)
treeea6c00d99d78b50e4bdff1601a26bc303d607591 /src/empathy-main-window.h
parent30963d50de3652cca566fda8d753e733f0fb243a (diff)
downloadgsoc2013-empathy-53ff0c11c8b340eb7038bade1a12a7c4bd5f4cac.tar
gsoc2013-empathy-53ff0c11c8b340eb7038bade1a12a7c4bd5f4cac.tar.gz
gsoc2013-empathy-53ff0c11c8b340eb7038bade1a12a7c4bd5f4cac.tar.bz2
gsoc2013-empathy-53ff0c11c8b340eb7038bade1a12a7c4bd5f4cac.tar.lz
gsoc2013-empathy-53ff0c11c8b340eb7038bade1a12a7c4bd5f4cac.tar.xz
gsoc2013-empathy-53ff0c11c8b340eb7038bade1a12a7c4bd5f4cac.tar.zst
gsoc2013-empathy-53ff0c11c8b340eb7038bade1a12a7c4bd5f4cac.zip
Port EmpathyMainWindow to GtkWindow subclass
Diffstat (limited to 'src/empathy-main-window.h')
-rw-r--r--src/empathy-main-window.h26
1 files changed, 24 insertions, 2 deletions
diff --git a/src/empathy-main-window.h b/src/empathy-main-window.h
index 3d34e6c6b..38879fb29 100644
--- a/src/empathy-main-window.h
+++ b/src/empathy-main-window.h
@@ -19,6 +19,7 @@
* Boston, MA 02110-1301 USA
*
* Authors: Xavier Claessens <xclaesse@gmail.com>
+ * Danielle Madeley <danielle.madeley@collabora.co.uk>
*/
#ifndef __EMPATHY_MAIN_WINDOW_H__
@@ -28,8 +29,29 @@
G_BEGIN_DECLS
-GtkWidget *empathy_main_window_get (void);
-GtkWidget *empathy_main_window_show (void);
+#define EMPATHY_TYPE_MAIN_WINDOW (empathy_main_window_get_type ())
+#define EMPATHY_MAIN_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_MAIN_WINDOW, EmpathyMainWindow))
+#define EMPATHY_MAIN_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), EMPATHY_TYPE_MAIN_WINDOW, EmpathyMainWindowClass))
+#define EMPATHY_IS_MAIN_WINDOW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_MAIN_WINDOW))
+#define EMPATHY_IS_MAIN_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_MAIN_WINDOW))
+#define EMPATHY_MAIN_WINDOW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_MAIN_WINDOW, EmpathyMainWindowClass))
+
+typedef struct _EmpathyMainWindow EmpathyMainWindow;
+typedef struct _EmpathyMainWindowClass EmpathyMainWindowClass;
+typedef struct _EmpathyMainWindowPriv EmpathyMainWindowPriv;
+
+struct _EmpathyMainWindow {
+ GtkWindow parent;
+ gpointer priv;
+};
+
+struct _EmpathyMainWindowClass {
+ GtkWindowClass parent_class;
+};
+
+GType empathy_main_window_get_type (void);
+
+GtkWidget *empathy_main_window_dup (void);
G_END_DECLS