aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-avatar-chooser.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-26 16:36:04 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-06-01 17:58:09 +0800
commit405df12b4627f6f6361e8be54f27bce928cd6e5e (patch)
tree354284ffed0e2f6f639234d67a9c7bc820ef3bb8 /libempathy-gtk/empathy-avatar-chooser.h
parent762682fd8f1850c03aa7afc0578b78fa4571d94a (diff)
downloadgsoc2013-empathy-405df12b4627f6f6361e8be54f27bce928cd6e5e.tar
gsoc2013-empathy-405df12b4627f6f6361e8be54f27bce928cd6e5e.tar.gz
gsoc2013-empathy-405df12b4627f6f6361e8be54f27bce928cd6e5e.tar.bz2
gsoc2013-empathy-405df12b4627f6f6361e8be54f27bce928cd6e5e.tar.lz
gsoc2013-empathy-405df12b4627f6f6361e8be54f27bce928cd6e5e.tar.xz
gsoc2013-empathy-405df12b4627f6f6361e8be54f27bce928cd6e5e.tar.zst
gsoc2013-empathy-405df12b4627f6f6361e8be54f27bce928cd6e5e.zip
avatar-chooser: port to TP coding style
We just changed most of this file so while we're on it...
Diffstat (limited to 'libempathy-gtk/empathy-avatar-chooser.h')
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.h43
1 files changed, 24 insertions, 19 deletions
diff --git a/libempathy-gtk/empathy-avatar-chooser.h b/libempathy-gtk/empathy-avatar-chooser.h
index d12c843bc..7df142b64 100644
--- a/libempathy-gtk/empathy-avatar-chooser.h
+++ b/libempathy-gtk/empathy-avatar-chooser.h
@@ -30,37 +30,42 @@
G_BEGIN_DECLS
-#define EMPATHY_TYPE_AVATAR_CHOOSER (empathy_avatar_chooser_get_type ())
-#define EMPATHY_AVATAR_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_AVATAR_CHOOSER, EmpathyAvatarChooser))
+#define EMPATHY_TYPE_AVATAR_CHOOSER (empathy_avatar_chooser_get_type ())
+#define EMPATHY_AVATAR_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_AVATAR_CHOOSER, EmpathyAvatarChooser))
#define EMPATHY_AVATAR_CHOOSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EMPATHY_TYPE_AVATAR_CHOOSER, EmpathyAvatarChooserClass))
-#define EMPATHY_IS_AVATAR_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_AVATAR_CHOOSER))
+#define EMPATHY_IS_AVATAR_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_AVATAR_CHOOSER))
#define EMPATHY_IS_AVATAR_CHOOSER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), EMPATHY_TYPE_AVATAR_CHOOSER))
typedef struct _EmpathyAvatarChooser EmpathyAvatarChooser;
typedef struct _EmpathyAvatarChooserClass EmpathyAvatarChooserClass;
typedef struct _EmpathyAvatarChooserPrivate EmpathyAvatarChooserPrivate;
-struct _EmpathyAvatarChooser {
- GtkButton parent;
+struct _EmpathyAvatarChooser
+{
+ GtkButton parent;
- /*<private>*/
- EmpathyAvatarChooserPrivate *priv;
+ /*<private>*/
+ EmpathyAvatarChooserPrivate *priv;
};
-struct _EmpathyAvatarChooserClass {
- GtkButtonClass parent_class;
+struct _EmpathyAvatarChooserClass
+{
+ GtkButtonClass parent_class;
};
-GType empathy_avatar_chooser_get_type (void);
-GtkWidget *empathy_avatar_chooser_new (void);
-void empathy_avatar_chooser_set (EmpathyAvatarChooser *chooser,
- EmpathyAvatar *avatar);
-void empathy_avatar_chooser_get_image_data (EmpathyAvatarChooser *chooser,
- const gchar **data,
- gsize *data_size,
- const gchar **mime_type);
+GType empathy_avatar_chooser_get_type (void);
-void empathy_avatar_chooser_set_account (EmpathyAvatarChooser *self,
- TpAccount *account);
+GtkWidget *empathy_avatar_chooser_new (void);
+
+void empathy_avatar_chooser_set (EmpathyAvatarChooser *self,
+ EmpathyAvatar *avatar);
+
+void empathy_avatar_chooser_get_image_data (EmpathyAvatarChooser *self,
+ const gchar **data,
+ gsize *data_size,
+ const gchar **mime_type);
+
+void empathy_avatar_chooser_set_account (EmpathyAvatarChooser *self,
+ TpAccount *account);
#endif /* __EMPATHY_AVATAR_CHOOSER_H__ */