aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-widget.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-10 20:55:39 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-15 17:48:15 +0800
commit5085baa1cf801e19d9a3425129da754e094eb80c (patch)
tree7e2fb82d3615d52cf99c359493b1458ef9334798 /libempathy-gtk/empathy-contact-widget.h
parentbf6dffc184ccc08ec6bf38c4a59898d137375097 (diff)
downloadgsoc2013-empathy-5085baa1cf801e19d9a3425129da754e094eb80c.tar
gsoc2013-empathy-5085baa1cf801e19d9a3425129da754e094eb80c.tar.gz
gsoc2013-empathy-5085baa1cf801e19d9a3425129da754e094eb80c.tar.bz2
gsoc2013-empathy-5085baa1cf801e19d9a3425129da754e094eb80c.tar.lz
gsoc2013-empathy-5085baa1cf801e19d9a3425129da754e094eb80c.tar.xz
gsoc2013-empathy-5085baa1cf801e19d9a3425129da754e094eb80c.tar.zst
gsoc2013-empathy-5085baa1cf801e19d9a3425129da754e094eb80c.zip
turn EmpathyContactWidget to be a proper GtkWidget
https://bugzilla.gnome.org/show_bug.cgi?id=675803
Diffstat (limited to 'libempathy-gtk/empathy-contact-widget.h')
-rw-r--r--libempathy-gtk/empathy-contact-widget.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.h b/libempathy-gtk/empathy-contact-widget.h
index a50f9fa3e..bf4acaf8e 100644
--- a/libempathy-gtk/empathy-contact-widget.h
+++ b/libempathy-gtk/empathy-contact-widget.h
@@ -29,6 +29,47 @@
G_BEGIN_DECLS
+typedef struct _EmpathyContactWidget EmpathyContactWidget;
+typedef struct _EmpathyContactWidgetClass EmpathyContactWidgetClass;
+typedef struct _EmpathyContactWidgetPriv EmpathyContactWidgetPriv;
+
+struct _EmpathyContactWidgetClass
+{
+ /*<private>*/
+ GtkBoxClass parent_class;
+};
+
+struct _EmpathyContactWidget
+{
+ /*<private>*/
+ GtkBox parent;
+ EmpathyContactWidgetPriv *priv;
+};
+
+GType empathy_contact_widget_get_type (void);
+
+/* TYPE MACROS */
+#define EMPATHY_TYPE_CONTACT_WIDGET \
+ (empathy_contact_widget_get_type ())
+#define EMPATHY_CONTACT_WIDGET(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST((obj), \
+ EMPATHY_TYPE_CONTACT_WIDGET, \
+ EmpathyContactWidget))
+#define EMPATHY_CONTACT_WIDGET_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST((klass), \
+ EMPATHY_TYPE_CONTACT_WIDGET, \
+ EmpathyContactWidgetClass))
+#define EMPATHY_IS_CONTACT_WIDGET(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
+ EMPATHY_TYPE_CONTACT_WIDGET))
+#define EMPATHY_IS_CONTACT_WIDGET_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE((klass), \
+ EMPATHY_TYPE_CONTACT_WIDGET))
+#define EMPATHY_CONTACT_WIDGET_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), \
+ EMPATHY_TYPE_CONTACT_WIDGET, \
+ EmpathyContactWidgetClass))
+
/**
* EmpathyContactWidgetFlags:
* @EMPATHY_CONTACT_WIDGET_EDIT_NONE: Don't show any widgets to edit any details