[Telepathy-commits] [telepathy-mission-control/master] Deprecate mcd_channel_new() and requestor-serial property
Alberto Mardegan
alberto.mardegan at nokia.com
Mon Nov 17 00:05:19 PST 2008
---
src/mcd-channel.c | 2 ++
src/mcd-channel.h | 3 ++-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/mcd-channel.c b/src/mcd-channel.c
index 86c7744..0dadadd 100644
--- a/src/mcd-channel.c
+++ b/src/mcd-channel.c
@@ -551,6 +551,7 @@ _mcd_channel_set_property (GObject * obj, guint prop_id,
priv->outgoing = g_value_get_boolean (val);
break;
case PROP_REQUESTOR_SERIAL:
+ DEPRECATED_PROPERTY_WARNING;
priv->requestor_serial = g_value_get_uint (val);
break;
case PROP_REQUESTOR_CLIENT_ID:
@@ -602,6 +603,7 @@ _mcd_channel_get_property (GObject * obj, guint prop_id,
g_value_set_boolean (val, priv->outgoing);
break;
case PROP_REQUESTOR_SERIAL:
+ DEPRECATED_PROPERTY_WARNING;
g_value_set_uint (val, priv->requestor_serial);
break;
case PROP_REQUESTOR_CLIENT_ID:
diff --git a/src/mcd-channel.h b/src/mcd-channel.h
index c3971f4..7278822 100644
--- a/src/mcd-channel.h
+++ b/src/mcd-channel.h
@@ -91,7 +91,8 @@ McdChannel *mcd_channel_new (TpChannel *channel,
TpHandleType channel_handle_type,
gboolean outgoing,
guint requestor_serial,
- const gchar *requestor_client_id);
+ const gchar *requestor_client_id)
+ G_GNUC_DEPRECATED;
McdChannel *mcd_channel_new_from_path (TpConnection *connection,
const gchar *object_path,
const gchar *type, guint handle,
--
1.5.6.5
More information about the Telepathy-commits
mailing list