aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-preferences.h
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2010-06-24 10:34:33 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2010-06-24 17:37:22 +0800
commitee36de0c87a759e0ffe7ef6e845110e53a724299 (patch)
tree6341e89a1dc7ea988676d2bcc6103b1b4a2b50c0 /src/empathy-preferences.h
parent53ff0c11c8b340eb7038bade1a12a7c4bd5f4cac (diff)
downloadgsoc2013-empathy-ee36de0c87a759e0ffe7ef6e845110e53a724299.tar
gsoc2013-empathy-ee36de0c87a759e0ffe7ef6e845110e53a724299.tar.gz
gsoc2013-empathy-ee36de0c87a759e0ffe7ef6e845110e53a724299.tar.bz2
gsoc2013-empathy-ee36de0c87a759e0ffe7ef6e845110e53a724299.tar.lz
gsoc2013-empathy-ee36de0c87a759e0ffe7ef6e845110e53a724299.tar.xz
gsoc2013-empathy-ee36de0c87a759e0ffe7ef6e845110e53a724299.tar.zst
gsoc2013-empathy-ee36de0c87a759e0ffe7ef6e845110e53a724299.zip
Port EmpathyPreferences to GtkDialog subclass
Diffstat (limited to 'src/empathy-preferences.h')
-rw-r--r--src/empathy-preferences.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/empathy-preferences.h b/src/empathy-preferences.h
index aba58828e..0d7204fcc 100644
--- a/src/empathy-preferences.h
+++ b/src/empathy-preferences.h
@@ -20,6 +20,7 @@
* Authors: Mikael Hallendal <micke@imendio.com>
* Richard Hult <richard@imendio.com>
* Martyn Russell <martyn@imendio.com>
+ * Danielle Madeley <danielle.madeley@collabora.co.uk>
*/
#ifndef __EMPATHY_PREFERENCES_H__
@@ -29,7 +30,29 @@
G_BEGIN_DECLS
-GtkWidget * empathy_preferences_show (GtkWindow *parent);
+#define EMPATHY_TYPE_PREFERENCES (empathy_preferences_get_type ())
+#define EMPATHY_PREFERENCES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_PREFERENCES, EmpathyPreferences))
+#define EMPATHY_PREFERENCES_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), EMPATHY_TYPE_PREFERENCES, EmpathyPreferencesClass))
+#define EMPATHY_IS_PREFERENCES(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_PREFERENCES))
+#define EMPATHY_IS_PREFERENCES_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_PREFERENCES))
+#define EMPATHY_PREFERENCES_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_PREFERENCES, EmpathyPreferencesClass))
+
+typedef struct _EmpathyPreferences EmpathyPreferences;
+typedef struct _EmpathyPreferencesClass EmpathyPreferencesClass;
+typedef struct _EmpathyPreferencesPriv EmpathyPreferencesPriv;
+
+struct _EmpathyPreferences {
+ GtkDialog parent;
+ gpointer priv;
+};
+
+struct _EmpathyPreferencesClass {
+ GtkDialogClass parent_class;
+};
+
+GType empathy_preferences_get_type (void);
+
+GtkWidget *empathy_preferences_new (GtkWindow *parent);
G_END_DECLS