From 65a418a120a3ae643db7649d71e9dca9722d8088 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 30 Nov 2003 14:10:15 +0000 Subject: Forgot even more --- lib/ephy-file-chooser.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/ephy-file-chooser.c') 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) { -- cgit v1.2.3