gtk+ r21892 - in trunk: . gtk
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21892 - in trunk: . gtk
- Date: Sun, 14 Dec 2008 00:32:32 +0000 (UTC)
Author: matthiasc
Date: Sun Dec 14 00:32:32 2008
New Revision: 21892
URL: http://svn.gnome.org/viewvc/gtk+?rev=21892&view=rev
Log:
* gtk/gktfilechooserdefault.c (set_local_only): Avoid a warning
in tests. Patch by Christian Dywan
Modified:
trunk/ChangeLog
trunk/gtk/gtkfilechooserdefault.c
Modified: trunk/gtk/gtkfilechooserdefault.c
==============================================================================
--- trunk/gtk/gtkfilechooserdefault.c (original)
+++ trunk/gtk/gtkfilechooserdefault.c Sun Dec 14 00:32:32 2008
@@ -5340,7 +5340,8 @@
shortcuts_add_bookmarks (impl);
}
- if (local_only && !g_file_is_native (impl->current_folder))
+ if (local_only && impl->current_folder &&
+ !g_file_is_native (impl->current_folder))
{
/* If we are pointing to a non-local folder, make an effort to change
* back to a local folder, but it's really up to the app to not cause
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]