[gssdp] Drop deprecated property
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gssdp] Drop deprecated property
- Date: Sat, 15 Oct 2016 17:57:36 +0000 (UTC)
commit 4b8f21ce28753488aeb8411d8832eabe6b1d3a83
Author: Jens Georg <mail jensge org>
Date: Mon Oct 10 23:18:36 2016 +0200
Drop deprecated property
Signed-off-by: Jens Georg <mail jensge org>
libgssdp/gssdp-client.c | 31 -------------------------------
1 files changed, 0 insertions(+), 31 deletions(-)
---
diff --git a/libgssdp/gssdp-client.c b/libgssdp/gssdp-client.c
index f2f40ae..d14b310 100644
--- a/libgssdp/gssdp-client.c
+++ b/libgssdp/gssdp-client.c
@@ -148,7 +148,6 @@ typedef struct _GSSDPHeaderField GSSDPHeaderField;
enum {
PROP_0,
- PROP_MAIN_CONTEXT,
PROP_SERVER_ID,
PROP_IFACE,
PROP_NETWORK,
@@ -350,14 +349,6 @@ gssdp_client_get_property (GObject *object,
(value,
gssdp_client_get_server_id (client));
break;
- case PROP_MAIN_CONTEXT:
- g_warning ("GSSDPClient:main-context is deprecated."
- " Please use g_main_context_push_thread_default()");
- g_value_set_pointer
- (value,
- (gpointer)
- g_main_context_get_thread_default ());
- break;
case PROP_IFACE:
g_value_set_string (value,
gssdp_client_get_interface (client));
@@ -399,11 +390,6 @@ gssdp_client_set_property (GObject *object,
gssdp_client_set_server_id (client,
g_value_get_string (value));
break;
- case PROP_MAIN_CONTEXT:
- if (g_value_get_pointer (value) != NULL)
- g_warning ("GSSDPClient:main-context is deprecated."
- " Please use g_main_context_push_thread_default()");
- break;
case PROP_IFACE:
priv->device.iface_name = g_value_dup_string (value);
break;
@@ -508,23 +494,6 @@ gssdp_client_class_init (GSSDPClientClass *klass)
G_PARAM_STATIC_BLURB));
/**
- * GSSDPClient:main-context: (skip)
- *
- * The #GMainContext to use. Set to NULL to use the default.
- * Deprecated: 0.11.2: Use g_main_context_push_thread_default().
- **/
- g_object_class_install_property
- (object_class,
- PROP_MAIN_CONTEXT,
- g_param_spec_pointer
- ("main-context",
- "Main context",
- "The associated GMainContext.",
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
- G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK |
- G_PARAM_STATIC_BLURB));
-
- /**
* GSSDPClient:interface:
*
* The name of the network interface this client is associated with.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]