gnome-media r4131 - in trunk/gnome-volume-control: . src
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-media r4131 - in trunk/gnome-volume-control: . src
- Date: Mon, 22 Dec 2008 04:15:46 +0000 (UTC)
Author: mccann
Date: Mon Dec 22 04:15:46 2008
New Revision: 4131
URL: http://svn.gnome.org/viewvc/gnome-media?rev=4131&view=rev
Log:
2008-12-21 William Jon McCann <jmccann redhat com>
* src/gvc-sound-theme-chooser.c (on_treeview_selection_changed):
Check for null selection.
Modified:
trunk/gnome-volume-control/ChangeLog
trunk/gnome-volume-control/src/gvc-sound-theme-chooser.c
Modified: trunk/gnome-volume-control/src/gvc-sound-theme-chooser.c
==============================================================================
--- trunk/gnome-volume-control/src/gvc-sound-theme-chooser.c (original)
+++ trunk/gnome-volume-control/src/gvc-sound-theme-chooser.c Mon Dec 22 04:15:46 2008
@@ -787,9 +787,11 @@
model = gtk_tree_view_get_model (GTK_TREE_VIEW (chooser->priv->treeview));
paths = gtk_tree_selection_get_selected_rows (selection, &model);
+ if (paths == NULL) {
+ return;
+ }
path = paths->data;
-
play_preview_for_path (chooser, path);
g_list_foreach (paths, (GFunc)gtk_tree_path_free, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]