[ease/plugins: 7/7] And fix that bug.
- From: Stéphane Maniaci <maniacis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease/plugins: 7/7] And fix that bug.
- Date: Mon, 21 Jun 2010 13:30:28 +0000 (UTC)
commit ebc627fcb1650b24aea25f1190116c0cc288abe0
Author: Stéphane Maniaci <stephane maniaci gmail com>
Date: Mon Jun 21 15:29:58 2010 +0200
And fix that bug.
plugins/flickr.vala | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plugins/flickr.vala b/plugins/flickr.vala
index 70e1bc8..adaba21 100644
--- a/plugins/flickr.vala
+++ b/plugins/flickr.vala
@@ -15,7 +15,6 @@ using Gtk;
- raise accuracy (ie use the keywords to search tags _and_ description, and others)
- get the next set of photos
- show a tiny spinner when loading
- - avoid segfault when unselecting an icon
*/
public class FlickrFetcher {
@@ -185,6 +184,10 @@ public class FlickrFetcher {
string license;
List<Gtk.TreePath> selected = view.get_selected_items ();
+ if (selected.first () == null) {
+ debug ("No data!");
+ return;
+ }
Gtk.TreeIter iter;
store.get_iter (out iter, selected.data);
store.get (iter,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]