[next] telepathy-glib: remove tp_account_channel_request_new()
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Thu Feb 27 06:07:34 PST 2014
Module: telepathy-glib
Branch: next
Commit: 36d202ac017630599e7acac377f8d0103259bde0
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=36d202ac017630599e7acac377f8d0103259bde0
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Tue Feb 18 11:15:43 2014 +0100
remove tp_account_channel_request_new()
---
.../telepathy-glib/telepathy-glib-sections.txt | 1 -
telepathy-glib/account-channel-request.c | 32 --------------------
telepathy-glib/account-channel-request.h | 4 ---
3 files changed, 37 deletions(-)
diff --git a/docs/reference/telepathy-glib/telepathy-glib-sections.txt b/docs/reference/telepathy-glib/telepathy-glib-sections.txt
index 21b2937..7ee5c39 100644
--- a/docs/reference/telepathy-glib/telepathy-glib-sections.txt
+++ b/docs/reference/telepathy-glib/telepathy-glib-sections.txt
@@ -4952,7 +4952,6 @@ tp_svc_channel_type_contact_search1_get_type
<TITLE>account-channel-request</TITLE>
<INCLUDE>telepathy-glib/telepathy-glib.h</INCLUDE>
TpAccountChannelRequest
-tp_account_channel_request_new
tp_account_channel_request_new_vardict
tp_account_channel_request_get_request
tp_account_channel_request_dup_request
diff --git a/telepathy-glib/account-channel-request.c b/telepathy-glib/account-channel-request.c
index 86ea453..bc30b1f 100644
--- a/telepathy-glib/account-channel-request.c
+++ b/telepathy-glib/account-channel-request.c
@@ -519,38 +519,6 @@ tp_account_channel_request_class_init (
}
/**
- * tp_account_channel_request_new:
- * @account: a #TpAccount
- * @request: (transfer none) (element-type utf8 GObject.Value): the requested
- * properties of the channel (see #TpAccountChannelRequest:request)
- * @user_action_time: the time of the user action that caused this request,
- * or one of the special values %TP_USER_ACTION_TIME_NOT_USER_ACTION or
- * %TP_USER_ACTION_TIME_CURRENT_TIME (see
- * #TpAccountChannelRequest:user-action-time)
- *
- * Convenience function to create a new #TpAccountChannelRequest object.
- *
- * Returns: a new #TpAccountChannelRequest object
- *
- * Since: 0.11.12
- */
-TpAccountChannelRequest *
-tp_account_channel_request_new (
- TpAccount *account,
- GHashTable *request,
- gint64 user_action_time)
-{
- g_return_val_if_fail (TP_IS_ACCOUNT (account), NULL);
- g_return_val_if_fail (request != NULL, NULL);
-
- return g_object_new (TP_TYPE_ACCOUNT_CHANNEL_REQUEST,
- "account", account,
- "request", request,
- "user-action-time", user_action_time,
- NULL);
-}
-
-/**
* tp_account_channel_request_new_vardict:
* @account: a #TpAccount
* @request: the requested
diff --git a/telepathy-glib/account-channel-request.h b/telepathy-glib/account-channel-request.h
index d87df20..08a53e1 100644
--- a/telepathy-glib/account-channel-request.h
+++ b/telepathy-glib/account-channel-request.h
@@ -61,10 +61,6 @@ GType tp_account_channel_request_get_type (void);
(G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TYPE_ACCOUNT_CHANNEL_REQUEST, \
TpAccountChannelRequestClass))
-TpAccountChannelRequest * tp_account_channel_request_new (
- TpAccount *account,
- GHashTable *request,
- gint64 user_action_time) G_GNUC_WARN_UNUSED_RESULT;
_TP_AVAILABLE_IN_0_20
TpAccountChannelRequest * tp_account_channel_request_new_vardict (
TpAccount *account,
More information about the telepathy-commits
mailing list