Author: akv
Date: 2009-12-19 23:46:31 +0100 (Sat, 19 Dec 2009)
New Revision: 2802
Modified:
trunk/src/rs-store.c
Log:
Bail out of selection_changed (iconbox) if there ain't any iters left in
selected.
Modified: trunk/src/rs-store.c
===================================================================
--- trunk/src/rs-store.c 2009-12-19 22:46:02 UTC (rev 2801)
+++ trunk/src/rs-store.c 2009-12-19 22:46:31 UTC (rev 2802)
@@ -443,6 +443,9 @@
/* Emit signal if only one thumbnail is selected */
if (num_selected == 1)
{
+ if (g_list_nth_data(selected, 0))
+ return;
+
iter = * (GtkTreeIter *) g_list_nth_data(selected, 0);
/* Get type of row */
gtk_tree_model_get(model, &iter, TYPE_COLUMN, &type, -1);
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit