[libdmapsharing] Put password_protected back into _DMAPMdnsBrowserService; allows for distinct icon in Rhythmbox Sign
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Put password_protected back into _DMAPMdnsBrowserService; allows for distinct icon in Rhythmbox Sign
- Date: Tue, 10 May 2011 02:33:27 +0000 (UTC)
commit 951e328bd3442f0c84c045a00e36019348bd0484
Author: W. Michael Petullo <mike flyn org>
Date: Mon May 9 21:32:46 2011 -0500
Put password_protected back into _DMAPMdnsBrowserService; allows for distinct icon in Rhythmbox
Signed-off-by: W. Michael Petullo <mike flyn org>
libdmapsharing/dmap-mdns-browser-avahi.c | 1 +
libdmapsharing/dmap-mdns-browser-dnssd.c | 1 +
libdmapsharing/dmap-mdns-browser-howl.c | 1 +
libdmapsharing/dmap-mdns-browser.h | 1 +
4 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libdmapsharing/dmap-mdns-browser-avahi.c b/libdmapsharing/dmap-mdns-browser-avahi.c
index a66d08c..12890fc 100644
--- a/libdmapsharing/dmap-mdns-browser-avahi.c
+++ b/libdmapsharing/dmap-mdns-browser-avahi.c
@@ -431,6 +431,7 @@ resolve_cb (AvahiServiceResolver * service_resolver,
service->host = g_strdup (host);
service->port = port;
service->pair = pair;
+ service->password_protected = pp;
browser->priv->services =
g_slist_append (browser->priv->services, service);
g_signal_emit (browser,
diff --git a/libdmapsharing/dmap-mdns-browser-dnssd.c b/libdmapsharing/dmap-mdns-browser-dnssd.c
index e8da05b..935052a 100644
--- a/libdmapsharing/dmap-mdns-browser-dnssd.c
+++ b/libdmapsharing/dmap-mdns-browser-dnssd.c
@@ -368,6 +368,7 @@ dmap_mdns_browser_resolve (DMAPMdnsBrowser * browser,
service->host = g_strdup (browser->priv->host_target);
service->port = browser->priv->port;
service->pair = NULL;
+ service->password_protected = FALSE;
// add to the services list
browser->priv->services =
diff --git a/libdmapsharing/dmap-mdns-browser-howl.c b/libdmapsharing/dmap-mdns-browser-howl.c
index 6482e37..d4cd03d 100644
--- a/libdmapsharing/dmap-mdns-browser-howl.c
+++ b/libdmapsharing/dmap-mdns-browser-howl.c
@@ -272,6 +272,7 @@ resolve_cb (sw_discovery discovery,
service->name = name;
service->host = g_strdup (host);
service->port = port;
+ service->password_protected = pp;
service->pair = pair;
browser->priv->services =
g_slist_append (browser->priv->services, service);
diff --git a/libdmapsharing/dmap-mdns-browser.h b/libdmapsharing/dmap-mdns-browser.h
index f3dbf27..cd34bf4 100644
--- a/libdmapsharing/dmap-mdns-browser.h
+++ b/libdmapsharing/dmap-mdns-browser.h
@@ -106,6 +106,7 @@ struct _DMAPMdnsBrowserService
gchar *name;
gchar *host;
guint port;
+ gboolean password_protected;
gchar *pair;
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]