]> git.0d.be Git - empathy.git/commitdiff
move pre-defined filter at the end of the files
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 24 Oct 2011 12:27:15 +0000 (14:27 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 27 Oct 2011 11:44:29 +0000 (13:44 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=662609

libempathy-gtk/empathy-account-chooser.c
libempathy-gtk/empathy-account-chooser.h

index 8b0359276a98ac744b36895e69d2a9937b3585ea..289170d15f97c0631cb353d87117711aa975de89 100644 (file)
@@ -945,6 +945,34 @@ empathy_account_chooser_set_filter (EmpathyAccountChooser *self,
  * Return value: whether the account indicated by @account is visible.
  */
 
  * 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
 /**
  * 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);
 }
 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;
-}
index 9459b29b3b346f28d7ed31ec81ad164f7e0f4c27..ac67a28e4050f182097462298a6ff80d7624c43f 100644 (file)
@@ -106,6 +106,10 @@ void empathy_account_chooser_set_filter (EmpathyAccountChooser *self,
     EmpathyAccountChooserFilterFunc filter,
     gpointer user_data);
 
     EmpathyAccountChooserFilterFunc filter,
     gpointer user_data);
 
+gboolean empathy_account_chooser_is_ready (EmpathyAccountChooser *self);
+
+/* Pre-defined filters */
+
 void empathy_account_chooser_filter_is_connected (TpAccount *account,
     EmpathyAccountChooserFilterResultCallback callback,
     gpointer callback_data,
 void empathy_account_chooser_filter_is_connected (TpAccount *account,
     EmpathyAccountChooserFilterResultCallback callback,
     gpointer callback_data,
@@ -116,8 +120,6 @@ void empathy_account_chooser_filter_supports_chatrooms (TpAccount *account,
     gpointer callback_data,
     gpointer user_data);
 
     gpointer callback_data,
     gpointer user_data);
 
-gboolean empathy_account_chooser_is_ready (EmpathyAccountChooser *self);
-
 G_END_DECLS
 
 #endif /* __EMPATHY_ACCOUNT_CHOOSER_H__ */
 G_END_DECLS
 
 #endif /* __EMPATHY_ACCOUNT_CHOOSER_H__ */