diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2011-09-26 18:46:36 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-09-28 11:32:20 +0100 |
commit | d8ed34e08ef5ae4ce87d317663e3467ac76fdabb (patch) | |
tree | bf0894720d77a99ca709e85163a1d9621fbe2d10 | |
parent | 2d5b1ed417986250417af6a4eb3852e7837ed57b (diff) | |
download | telepathy-mission-control-d8ed34e08ef5ae4ce87d317663e3467ac76fdabb.tar.gz |
Account: remove _get_online_requests.
This isn't called anywhere. And since this was the only way that
McdOnlineRequestData structures could escape mcd-account.c, we can now
hide that definition, too.
-rw-r--r-- | src/mcd-account-priv.h | 8 | ||||
-rw-r--r-- | src/mcd-account.c | 13 |
2 files changed, 5 insertions, 16 deletions
diff --git a/src/mcd-account-priv.h b/src/mcd-account-priv.h index 9bf45e62..70785ad2 100644 --- a/src/mcd-account-priv.h +++ b/src/mcd-account-priv.h @@ -109,14 +109,6 @@ void _mcd_account_online_request (McdAccount *account, void _mcd_account_connect_with_auto_presence (McdAccount *account, gboolean user_initiated); -typedef struct { - McdOnlineRequestCb callback; - gpointer user_data; -} McdOnlineRequestData; - -G_GNUC_INTERNAL -GList *_mcd_account_get_online_requests (McdAccount *account); - G_GNUC_INTERNAL McdStorage *_mcd_account_get_storage (McdAccount *account); static inline void diff --git a/src/mcd-account.c b/src/mcd-account.c index 1e2035b6..d86b0e65 100644 --- a/src/mcd-account.c +++ b/src/mcd-account.c @@ -118,6 +118,11 @@ G_DEFINE_TYPE_WITH_CODE (McdAccount, mcd_account, G_TYPE_OBJECT, properties_iface_init); ) +typedef struct { + McdOnlineRequestCb callback; + gpointer user_data; +} McdOnlineRequestData; + struct _McdAccountPrivate { gchar *unique_name; @@ -3678,14 +3683,6 @@ _mcd_account_online_request_completed (McdAccount *account, GError *error) priv->online_requests = NULL; } -GList * -_mcd_account_get_online_requests (McdAccount *account) -{ - g_return_val_if_fail (MCD_IS_ACCOUNT (account), NULL); - - return account->priv->online_requests; -} - static inline void process_online_requests (McdAccount *account, TpConnectionStatus status, |