r32291 - in /packages/unstable/rhythmbox/debian: changelog patches/dbus-getplaylists-fix.patch patches/series

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Mon Jan 2 15:58:56 UTC 2012


Author: biebl
Date: Mon Jan  2 15:58:56 2012
New Revision: 32291

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=32291
Log:
debian/patches/dbus-getplaylists-fix.patch: Correctly return playlist
names via D-Bus. Closes: #653373
Thanks Piotr Szydełko for the patch.

Added:
    packages/unstable/rhythmbox/debian/patches/dbus-getplaylists-fix.patch
Modified:
    packages/unstable/rhythmbox/debian/changelog
    packages/unstable/rhythmbox/debian/patches/series

Modified: packages/unstable/rhythmbox/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/rhythmbox/debian/changelog?rev=32291&op=diff
==============================================================================
--- packages/unstable/rhythmbox/debian/changelog [utf-8] (original)
+++ packages/unstable/rhythmbox/debian/changelog [utf-8] Mon Jan  2 15:58:56 2012
@@ -12,8 +12,11 @@
   * debian/patches/im-status-gettext-unicode.patch: Install gettext
     translations for im-status plugin with unicode enabled. Closes: #653165
     Thanks Peter Denison for the patch.
-
- -- Michael Biebl <biebl at debian.org>  Mon, 02 Jan 2012 15:58:39 +0100
+  * debian/patches/dbus-getplaylists-fix.patch: Correctly return playlist
+    names via D-Bus. Closes: #653373
+    Thanks Piotr Szydełko for the patch.
+
+ -- Michael Biebl <biebl at debian.org>  Mon, 02 Jan 2012 16:46:43 +0100
 
 rhythmbox (2.90.1~git20111117.f101562-1) unstable; urgency=low
 

Added: packages/unstable/rhythmbox/debian/patches/dbus-getplaylists-fix.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/rhythmbox/debian/patches/dbus-getplaylists-fix.patch?rev=32291&op=file
==============================================================================
--- packages/unstable/rhythmbox/debian/patches/dbus-getplaylists-fix.patch (added)
+++ packages/unstable/rhythmbox/debian/patches/dbus-getplaylists-fix.patch [utf-8] Mon Jan  2 15:58:56 2012
@@ -1,0 +1,23 @@
+Description: Correctly return list of playlist names trough D-Bus
+Author: Piotr Szydełko <wiertel at users.sourceforge.net>
+Bug: https://bugzilla.gnome.org/show_bug.cgi?id=667139
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653373
+diff -ur rhythmbox-2.90.1~git20111117.f101562/shell/rb-playlist-manager.c rhythmbox-2.90.1-wiertel/shell/rb-playlist-manager.c
+--- rhythmbox-2.90.1~git20111117.f101562/shell/rb-playlist-manager.c	2011-11-17 09:30:18.000000000 +0100
++++ rhythmbox-2.90.1-wiertel/shell/rb-playlist-manager.c	2011-12-27 13:28:12.180998131 +0100
+@@ -1625,10 +1625,13 @@
+ 
+ 	if (g_strcmp0 (method_name, "GetPlaylists") == 0) {
+ 		char **names;
++		GVariant *res;
+ 
+ 		rb_playlist_manager_get_playlist_names (mgr, &names, NULL);
+-		g_dbus_method_invocation_return_value (invocation,
+-						       g_variant_new_strv ((const char * const *)names, -1));
++		res = g_variant_new_strv ((const char * const *)names, -1);
++		res = g_variant_new_tuple (&res, 1);
++
++		g_dbus_method_invocation_return_value (invocation, res);
+ 		g_strfreev (names);
+ 	} else if (g_strcmp0 (method_name, "CreatePlaylist") == 0) {
+ 		g_variant_get (parameters, "(&s)", &name);

Modified: packages/unstable/rhythmbox/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/rhythmbox/debian/patches/series?rev=32291&op=diff
==============================================================================
--- packages/unstable/rhythmbox/debian/patches/series [utf-8] (original)
+++ packages/unstable/rhythmbox/debian/patches/series [utf-8] Mon Jan  2 15:58:56 2012
@@ -1,1 +1,2 @@
 im-status-gettext-unicode.patch
+dbus-getplaylists-fix.patch




More information about the pkg-gnome-commits mailing list