Author: post
Date: 2010-03-29 22:36:54 +0200 (Mon, 29 Mar 2010)
New Revision: 3279
Modified:
trunk/src/gtk-interface.c
Log:
Don't do GUI catchup until mainloop is reached.
Modified: trunk/src/gtk-interface.c
===================================================================
--- trunk/src/gtk-interface.c 2010-03-29 18:52:28 UTC (rev 3278)
+++ trunk/src/gtk-interface.c 2010-03-29 20:36:54 UTC (rev 3279)
@@ -1190,7 +1190,6 @@
lwd = g_get_current_dir();
gui_set_busy(TRUE);
- GTK_CATCHUP();
gui_status_push(_("Opening directory..."));
/* Set this, so directory is reset, if a crash occurs during
load, */
@@ -1212,7 +1211,6 @@
} else {
rs_conf_set_integer(CONF_LAST_PRIORITY_PAGE, 0);
}
- GTK_CATCHUP();
gui_set_busy(FALSE);
gui_status_push(_("Ready"));
rs_dir_selector_expand_path(RS_DIR_SELECTOR(dir_selector), lwd);
@@ -1225,6 +1223,8 @@
factory = NULL;
gui_set_busy(FALSE);
+ gdk_threads_enter();
gtk_main();
+ gdk_threads_leave();
return(0);
}
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit