rhythmbox r5970 - in trunk: . data/glade sources



Author: jmatthew
Date: Sun Oct  5 12:56:22 2008
New Revision: 5970
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5970&view=rev

Log:
2008-10-05  Jonathan Matthew  <jonathan d14n org>

	* data/glade/create-playlist.glade:
	Don't set a non-zero page size on the spin button used for limit
	settings.
	* sources/rb-auto-playlist-source.c: (impl_save_contents_to_xml):
	Don't try to free the array holding the limit value if there isn't one.


Modified:
   trunk/ChangeLog
   trunk/data/glade/create-playlist.glade
   trunk/sources/rb-auto-playlist-source.c

Modified: trunk/data/glade/create-playlist.glade
==============================================================================
--- trunk/data/glade/create-playlist.glade	(original)
+++ trunk/data/glade/create-playlist.glade	Sun Oct  5 12:56:22 2008
@@ -215,7 +215,7 @@
 		      <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 		      <property name="snap_to_ticks">False</property>
 		      <property name="wrap">False</property>
-		      <property name="adjustment">1 1 100000 1 10 10</property>
+		      <property name="adjustment">1 1 100000 1 10 0</property>
 		    </widget>
 		    <packing>
 		      <property name="padding">0</property>

Modified: trunk/sources/rb-auto-playlist-source.c
==============================================================================
--- trunk/sources/rb-auto-playlist-source.c	(original)
+++ trunk/sources/rb-auto-playlist-source.c	Sun Oct  5 12:56:22 2008
@@ -710,7 +710,10 @@
 
 	rhythmdb_query_serialize (rb_playlist_source_get_db (psource), query, node);
 	rhythmdb_query_free (query);
-	g_value_array_free (limit_value);
+
+	if (limit_value != NULL) {
+		g_value_array_free (limit_value);
+	}
 	g_free (sort_key);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]