rhythmbox r6014 - in trunk: . plugins/audiocd plugins/daap rhythmdb shell
- From: jmatthew svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r6014 - in trunk: . plugins/audiocd plugins/daap rhythmdb shell
- Date: Fri, 7 Nov 2008 00:49:04 +0000 (UTC)
Author: jmatthew
Date: Fri Nov 7 00:49:04 2008
New Revision: 6014
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=6014&view=rev
Log:
2008-11-07 Jonathan Matthew <jonathan d14n org>
patch by: Kjartan Maraas <kmaraas gnome org>
* plugins/audiocd/sj-metadata-musicbrainz3.c: (mb_list_albums):
* plugins/audiocd/sj-metadata.c:
* plugins/daap/rb-daap-connection.c: (build_message),
(rb_daap_connection_get_headers):
* plugins/daap/rb-daap-src.c: (rb_daap_src_open):
* rhythmdb/rhythmdb.c: (rhythmdb_entry_set_mount_point):
* shell/rb-shell-player.c: (rb_shell_player_get_property):
Fix build with -DG_DISABLE_DEPRECATED, #559582.
Modified:
trunk/ChangeLog
trunk/plugins/audiocd/sj-metadata-musicbrainz3.c
trunk/plugins/audiocd/sj-metadata.c
trunk/plugins/daap/rb-daap-connection.c
trunk/plugins/daap/rb-daap-src.c
trunk/rhythmdb/rhythmdb.c
trunk/shell/rb-shell-player.c
Modified: trunk/plugins/audiocd/sj-metadata-musicbrainz3.c
==============================================================================
--- trunk/plugins/audiocd/sj-metadata-musicbrainz3.c (original)
+++ trunk/plugins/audiocd/sj-metadata-musicbrainz3.c Fri Nov 7 00:49:04 2008
@@ -220,7 +220,7 @@
char *id = NULL;
char buffer[512];
int i;
- g_return_val_if_fail (SJ_IS_METADATA_MUSICBRAINZ3 (metadata), FALSE);
+ g_return_val_if_fail (SJ_IS_METADATA_MUSICBRAINZ3 (metadata), NULL);
priv = GET_PRIVATE (metadata);
Modified: trunk/plugins/audiocd/sj-metadata.c
==============================================================================
--- trunk/plugins/audiocd/sj-metadata.c (original)
+++ trunk/plugins/audiocd/sj-metadata.c Fri Nov 7 00:49:04 2008
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include "config.h"
#include <glib-object.h>
#include <glib/gi18n.h>
#include <stdlib.h>
Modified: trunk/plugins/daap/rb-daap-connection.c
==============================================================================
--- trunk/plugins/daap/rb-daap-connection.c (original)
+++ trunk/plugins/daap/rb-daap-connection.c Fri Nov 7 00:49:04 2008
@@ -370,7 +370,7 @@
gchar hash[33] = {0};
gchar *no_daap_path = (gchar *)path;
- if (g_strncasecmp (path, "daap://", 7) == 0) {
+ if (g_ascii_strncasecmp (path, "daap://", 7) == 0) {
no_daap_path = strstr (path, "/data");
}
@@ -1650,7 +1650,7 @@
priv->request_id++;
- if (g_strncasecmp (uri, "daap://", 7) == 0) {
+ if (g_ascii_strncasecmp (uri, "daap://", 7) == 0) {
norb_daap_uri = strstr (uri, "/data");
}
Modified: trunk/plugins/daap/rb-daap-src.c
==============================================================================
--- trunk/plugins/daap/rb-daap-src.c (original)
+++ trunk/plugins/daap/rb-daap-src.c Fri Nov 7 00:49:04 2008
@@ -558,7 +558,7 @@
len_str = soup_message_headers_get (header_table, "Content-Length");
if (enc_str) {
- if (g_strcasecmp (enc_str, "chunked") == 0) {
+ if (g_ascii_strcasecmp (enc_str, "chunked") == 0) {
src->chunked = TRUE;
} else {
GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, (NULL),
Modified: trunk/rhythmdb/rhythmdb.c
==============================================================================
--- trunk/rhythmdb/rhythmdb.c (original)
+++ trunk/rhythmdb/rhythmdb.c Fri Nov 7 00:49:04 2008
@@ -4604,7 +4604,7 @@
mount_point = rb_uri_get_mount_point (realuri);
if (mount_point != NULL) {
g_value_init (&value, G_TYPE_STRING);
- g_value_set_string_take_ownership (&value, mount_point);
+ g_value_take_string (&value, mount_point);
rhythmdb_entry_set_internal (db, entry, FALSE,
RHYTHMDB_PROP_MOUNTPOINT,
&value);
Modified: trunk/shell/rb-shell-player.c
==============================================================================
--- trunk/shell/rb-shell-player.c (original)
+++ trunk/shell/rb-shell-player.c Fri Nov 7 00:49:04 2008
@@ -1344,7 +1344,7 @@
char *play_order = eel_gconf_get_string (CONF_STATE_PLAY_ORDER);
if (!play_order)
play_order = g_strdup ("linear");
- g_value_set_string_take_ownership (value, play_order);
+ g_value_take_string (value, play_order);
break;
}
case PROP_PLAYING:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]