[snappy] dlna: remove warnings
- From: Luis de Bethencourt <luisbg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [snappy] dlna: remove warnings
- Date: Sat, 21 Dec 2013 19:40:06 +0000 (UTC)
commit ee944cb6e28781ab014aa0e6e85a97c836312d2f
Author: Luis de Bethencourt <luis debethencourt com>
Date: Thu Dec 19 14:10:09 2013 -0500
dlna: remove warnings
src/dlna.c | 24 ------------------------
src/dlna.h | 2 --
2 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/src/dlna.c b/src/dlna.c
index 11f4f95..6be93e3 100644
--- a/src/dlna.c
+++ b/src/dlna.c
@@ -410,29 +410,6 @@ get_root_property (GDBusConnection * connection,
}
static void
-send_property_change (SnappyMP * myobj,
- GParamSpec * pspec, GDBusConnection * connection)
-{
- GVariantBuilder *builder;
- GVariantBuilder *invalidated_builder;
-
- builder = g_variant_builder_new (G_VARIANT_TYPE_ARRAY);
- invalidated_builder = g_variant_builder_new (G_VARIANT_TYPE ("as"));
-
- if (g_strcmp0 (pspec->name, "name") == 0)
- g_variant_builder_add (builder,
- "{sv}", "Name", g_variant_new_string (myobj->name ? myobj->name : ""));
-
- g_dbus_connection_emit_signal (connection,
- NULL,
- "org/mpris/MediaPlayer2",
- "org.freedesktop.DBus.Properties",
- "PropertiesChanged",
- g_variant_new ("(sa{sv}as)",
- "org.mpris.MediaPlayer2", builder, invalidated_builder), NULL);
-}
-
-static void
on_name_acquired (GDBusConnection * connection,
const gchar * name, gpointer user_data)
{
@@ -449,7 +426,6 @@ on_name_lost (GDBusConnection * connection,
gboolean
load_dlna (SnappyMP * mp)
{
- guint owner_id, player_id, root_id;
GError *error = NULL;
GDBusInterfaceInfo *ifaceinfo;
GDBusConnection *connection;
diff --git a/src/dlna.h b/src/dlna.h
index f3ddf1a..a60c343 100644
--- a/src/dlna.h
+++ b/src/dlna.h
@@ -77,8 +77,6 @@ enum
LAST_SIGNAL
};
-static guint mediaplayer_signals[LAST_SIGNAL] = { 0 };
-
// Declaration of non-static functions
gboolean load_dlna (SnappyMP * mp_obj);
gboolean close_dlna (SnappyMP * mp_obj);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]