libgnomeui r5592 - in trunk: . file-chooser
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: libgnomeui r5592 - in trunk: . file-chooser
- Date: Fri, 4 Apr 2008 01:58:55 +0100 (BST)
Author: carlosg
Date: Fri Apr 4 01:58:54 2008
New Revision: 5592
URL: http://svn.gnome.org/viewvc/libgnomeui?rev=5592&view=rev
Log:
2008-04-04 Carlos Garnacho <carlos imendio com>
* file-chooser/gtkfilesystemgio.c (get_icon_string): check whether the
GFileIcon doesn't return a NULL GFile, Bug #522005.
Modified:
trunk/ChangeLog
trunk/file-chooser/gtkfilesystemgio.c
Modified: trunk/file-chooser/gtkfilesystemgio.c
==============================================================================
--- trunk/file-chooser/gtkfilesystemgio.c (original)
+++ trunk/file-chooser/gtkfilesystemgio.c Fri Apr 4 01:58:54 2008
@@ -858,7 +858,9 @@
GFile *icon_file;
icon_file = g_file_icon_get_file (G_FILE_ICON (icon));
- name = g_file_get_path (icon_file);
+
+ if (icon_file)
+ name = g_file_get_path (icon_file);
}
return name;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]