aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-file-chooser.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2003-11-30 22:10:15 +0800
committerChristian Persch <chpe@src.gnome.org>2003-11-30 22:10:15 +0800
commit65a418a120a3ae643db7649d71e9dca9722d8088 (patch)
treed7836d146798c49a310fddc8ca5fac1c7e19e811 /lib/ephy-file-chooser.c
parentdc5345fa3063b7c27c3cffa7745868bae56aa34c (diff)
downloadgsoc2013-epiphany-65a418a120a3ae643db7649d71e9dca9722d8088.tar
gsoc2013-epiphany-65a418a120a3ae643db7649d71e9dca9722d8088.tar.gz
gsoc2013-epiphany-65a418a120a3ae643db7649d71e9dca9722d8088.tar.bz2
gsoc2013-epiphany-65a418a120a3ae643db7649d71e9dca9722d8088.tar.lz
gsoc2013-epiphany-65a418a120a3ae643db7649d71e9dca9722d8088.tar.xz
gsoc2013-epiphany-65a418a120a3ae643db7649d71e9dca9722d8088.tar.zst
gsoc2013-epiphany-65a418a120a3ae643db7649d71e9dca9722d8088.zip
Forgot even more
Diffstat (limited to 'lib/ephy-file-chooser.c')
-rw-r--r--lib/ephy-file-chooser.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ephy-file-chooser.c b/lib/ephy-file-chooser.c
index ec8cf2d27..668c7b522 100644
--- a/lib/ephy-file-chooser.c
+++ b/lib/ephy-file-chooser.c
@@ -237,7 +237,10 @@ ephy_file_chooser_new (const char *title,
* _after_ our instance_init and construct-param setters will have
* run.
*/
- ephy_file_chooser_set_persist_key (dialog, persist_key);
+ if (persist_key != NULL)
+ {
+ ephy_file_chooser_set_persist_key (dialog, persist_key);
+ }
if (action == GTK_FILE_CHOOSER_ACTION_OPEN)
{