changeset 4705:736e981747d8

remove dbus skin functions
author mf0102 <0102@gmx.at>
date Mon, 07 Jul 2008 22:28:30 +0200
parents 3534e9edc168
children 7375fa718dd8
files src/audacious/dbus-service.h src/audacious/dbus.c src/audacious/objects.xml
diffstat 3 files changed, 0 insertions(+), 28 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/dbus-service.h	Mon Jul 07 14:54:16 2008 +0200
+++ b/src/audacious/dbus-service.h	Mon Jul 07 22:28:30 2008 +0200
@@ -194,8 +194,6 @@
 gboolean audacious_rc_activate(RemoteObject *obj, GError **error);
 gboolean audacious_rc_queue_get_list_pos(RemoteObject *obj, gint qpos, gint *pos, GError **error);
 gboolean audacious_rc_queue_get_queue_pos(RemoteObject *obj, gint pos, gint *qpos, GError **error);
-gboolean audacious_rc_get_skin(RemoteObject *obj, gchar **skin, GError **error);
-gboolean audacious_rc_set_skin(RemoteObject *obj, gchar *skin, GError **error);
 gboolean audacious_rc_get_info(RemoteObject *obj, gint *rate, gint *freq, gint *nch, GError **error);
 gboolean audacious_rc_toggle_aot(RemoteObject *obj, gboolean ontop, GError **error);
 gboolean audacious_rc_get_playqueue_length(RemoteObject *obj, gint *length, GError **error);
--- a/src/audacious/dbus.c	Mon Jul 07 14:54:16 2008 +0200
+++ b/src/audacious/dbus.c	Mon Jul 07 22:28:30 2008 +0200
@@ -40,7 +40,6 @@
 #include "strings.h"
 
 #include "legacy/ui_equalizer.h"
-#include "legacy/ui_skin.h"
 
 static DBusGConnection *dbus_conn = NULL;
 static guint signals[LAST_SIG] = { 0 };
@@ -838,18 +837,6 @@
     return TRUE;
 }
 
-/* TODO: these skin functions should be removed when skin functionality
- * disappears --mf0102 */
-gboolean audacious_rc_get_skin(RemoteObject *obj, gchar **skin, GError **error) {
-    *skin = g_strdup(aud_active_skin->path);
-    return TRUE;
-}
-
-gboolean audacious_rc_set_skin(RemoteObject *obj, gchar *skin, GError **error) {
-    aud_active_skin_load(skin);
-    return TRUE;
-}
-
 gboolean audacious_rc_get_info(RemoteObject *obj, gint *rate, gint *freq, gint *nch, GError **error) {
     playback_get_sample_params(rate, freq, nch);
     return TRUE;
--- a/src/audacious/objects.xml	Mon Jul 07 14:54:16 2008 +0200
+++ b/src/audacious/objects.xml	Mon Jul 07 22:28:30 2008 +0200
@@ -413,19 +413,6 @@
             <arg type="u" direction="out" name="qpos"/>
         </method>
 
-        <!-- Get skin -->
-        <method name="GetSkin">
-            <!-- Return filename of desired song -->
-            <arg type="s" direction="out" name="skin"/>
-        </method>
-
-        <!-- Set skin -->
-        <method name="SetSkin">
-            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
-            <!-- Return filename of desired song -->
-            <arg type="s" name="skin"/>
-        </method>
-
         <!-- Get Info -->
         <method name="GetInfo">
             <arg type="i" direction="out" name="rate"/>