aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-chooser.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-10-24 20:27:15 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-10-27 19:44:29 +0800
commite220eb6b5dceb755e7858e465e78a46d555555f2 (patch)
treeb1ef2af2bced166c5d01f08657fd16a4b111f2d8 /libempathy-gtk/empathy-account-chooser.c
parent40babd776c588ad4a2d8637d0c3bdd06933f3311 (diff)
downloadgsoc2013-empathy-e220eb6b5dceb755e7858e465e78a46d555555f2.tar
gsoc2013-empathy-e220eb6b5dceb755e7858e465e78a46d555555f2.tar.gz
gsoc2013-empathy-e220eb6b5dceb755e7858e465e78a46d555555f2.tar.bz2
gsoc2013-empathy-e220eb6b5dceb755e7858e465e78a46d555555f2.tar.lz
gsoc2013-empathy-e220eb6b5dceb755e7858e465e78a46d555555f2.tar.xz
gsoc2013-empathy-e220eb6b5dceb755e7858e465e78a46d555555f2.tar.zst
gsoc2013-empathy-e220eb6b5dceb755e7858e465e78a46d555555f2.zip
move pre-defined filter at the end of the files
https://bugzilla.gnome.org/show_bug.cgi?id=662609
Diffstat (limited to 'libempathy-gtk/empathy-account-chooser.c')
-rw-r--r--libempathy-gtk/empathy-account-chooser.c54
1 files changed, 28 insertions, 26 deletions
diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c
index 8b0359276..289170d15 100644
--- a/libempathy-gtk/empathy-account-chooser.c
+++ b/libempathy-gtk/empathy-account-chooser.c
@@ -945,6 +945,34 @@ empathy_account_chooser_set_filter (EmpathyAccountChooser *self,
* Return value: whether the account indicated by @account is visible.
*/
+gboolean
+empathy_account_chooser_is_ready (EmpathyAccountChooser *self)
+{
+ return self->priv->ready;
+}
+
+TpAccount *
+empathy_account_chooser_get_account (EmpathyAccountChooser *self)
+{
+ TpAccount *account;
+
+ account = empathy_account_chooser_dup_account (self);
+ if (account == NULL)
+ return NULL;
+
+ g_object_unref (account);
+
+ return account;
+}
+
+TpAccountManager *
+empathy_account_chooser_get_account_manager (EmpathyAccountChooser *self)
+{
+ return self->priv->manager;
+}
+
+/* Pre-defined filters */
+
/**
* empathy_account_chooser_filter_is_connected:
* @account: a #TpAccount
@@ -1007,29 +1035,3 @@ empathy_account_chooser_filter_supports_chatrooms (TpAccount *account,
out:
callback (supported, callback_data);
}
-
-gboolean
-empathy_account_chooser_is_ready (EmpathyAccountChooser *self)
-{
- return self->priv->ready;
-}
-
-TpAccount *
-empathy_account_chooser_get_account (EmpathyAccountChooser *self)
-{
- TpAccount *account;
-
- account = empathy_account_chooser_dup_account (self);
- if (account == NULL)
- return NULL;
-
- g_object_unref (account);
-
- return account;
-}
-
-TpAccountManager *
-empathy_account_chooser_get_account_manager (EmpathyAccountChooser *self)
-{
- return self->priv->manager;
-}