diff options
author | Christian Persch <chpe@src.gnome.org> | 2009-04-06 01:53:02 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2009-04-06 01:53:02 +0800 |
commit | 73e9837744c0eedc1e72628e9a6dcb19edda17a0 (patch) | |
tree | 147258b06ea4855ac9e1cb849e028be3250ed62b /lib/ephy-file-chooser.c | |
parent | f05e5a3e83407bb0dcd6ae3f1547abff21512e30 (diff) | |
download | gsoc2013-epiphany-73e9837744c0eedc1e72628e9a6dcb19edda17a0.tar gsoc2013-epiphany-73e9837744c0eedc1e72628e9a6dcb19edda17a0.tar.gz gsoc2013-epiphany-73e9837744c0eedc1e72628e9a6dcb19edda17a0.tar.bz2 gsoc2013-epiphany-73e9837744c0eedc1e72628e9a6dcb19edda17a0.tar.lz gsoc2013-epiphany-73e9837744c0eedc1e72628e9a6dcb19edda17a0.tar.xz gsoc2013-epiphany-73e9837744c0eedc1e72628e9a6dcb19edda17a0.tar.zst gsoc2013-epiphany-73e9837744c0eedc1e72628e9a6dcb19edda17a0.zip |
Fix critical warning in filechooser code
svn path=/branches/gnome-2-26/; revision=8951
Diffstat (limited to 'lib/ephy-file-chooser.c')
-rw-r--r-- | lib/ephy-file-chooser.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ephy-file-chooser.c b/lib/ephy-file-chooser.c index 4c6b5783d..40c9918b5 100644 --- a/lib/ephy-file-chooser.c +++ b/lib/ephy-file-chooser.c @@ -127,8 +127,6 @@ static void ephy_file_chooser_init (EphyFileChooser *dialog) { dialog->priv = EPHY_FILE_CHOOSER_GET_PRIVATE (dialog); - - gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), g_get_home_dir ()); } static GObject * @@ -376,6 +374,9 @@ ephy_file_chooser_new (const char *title, * _after_ our instance_init and construct-param setters will have * run. */ + + gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), g_get_home_dir ()); + if (persist_key != NULL) { ephy_file_chooser_set_persist_key (dialog, persist_key); |