[gnumeric] Fix recent files dialog crasher. [#737261]
- From: Jean Bréfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Fix recent files dialog crasher. [#737261]
- Date: Wed, 24 Sep 2014 13:32:08 +0000 (UTC)
commit 8bd414a8a5fced3d32836778837603d7aa0394d4
Author: Jean Brefort <jean brefort normalesup org>
Date: Wed Sep 24 15:31:52 2014 +0200
Fix recent files dialog crasher. [#737261]
NEWS | 1 +
src/dialogs/ChangeLog | 4 ++++
src/dialogs/dialog-recent.c | 2 ++
3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index b812577..eb4b526 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ Andreas:
Jean:
* Fix dialogs behavior in full screen mode. [#736395]
* Save axis format to xls. [#736656]
+ * Fix recent files dialog crasher. [#737261]
Morten:
* Fix xls export problem. [#733771]
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 0c8a7c4..3e01881 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-24 Jean Brefort <jean brefort normalesup org>
+
+ * dialog-recent.c (url_renderer_func): fix crash with gtk+-3.14.0.
+
2014-09-10 Jean Brefort <jean brefort normalesup org>
* advanced-filter.ui: set the type_hint property to "dialog". [#736395]
diff --git a/src/dialogs/dialog-recent.c b/src/dialogs/dialog-recent.c
index 5971257..bc42f9c 100644
--- a/src/dialogs/dialog-recent.c
+++ b/src/dialogs/dialog-recent.c
@@ -89,6 +89,8 @@ url_renderer_func (GtkTreeViewColumn *tree_column,
gtk_tree_model_get (model, iter, RECENT_COL_INFO, &ri, -1);
+ if (ri == NULL)
+ return;
uri = gtk_recent_info_get_uri (ri);
filename = go_filename_from_uri (uri);
if (filename) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]