epiphany r8951 - branches/gnome-2-26/lib



Author: chpe
Date: Sun Apr  5 17:53:02 2009
New Revision: 8951
URL: http://svn.gnome.org/viewvc/epiphany?rev=8951&view=rev

Log:
Fix critical warning in filechooser code

Modified:
   branches/gnome-2-26/lib/ephy-file-chooser.c

Modified: branches/gnome-2-26/lib/ephy-file-chooser.c
==============================================================================
--- branches/gnome-2-26/lib/ephy-file-chooser.c	(original)
+++ branches/gnome-2-26/lib/ephy-file-chooser.c	Sun Apr  5 17:53:02 2009
@@ -127,8 +127,6 @@
 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 @@
 	 * _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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]