Update of /cvsroot/ufraw/ufraw In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv20923
Modified Files: ufraw_preview.c Log Message: Fix fit-to-screen when WindowMaximized. Index: ufraw_preview.c =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_preview.c,v retrieving revision 1.331 retrieving revision 1.332 diff -u -d -r1.331 -r1.332 --- ufraw_preview.c 1 Feb 2010 22:42:17 -0000 1.331 +++ ufraw_preview.c 4 Feb 2010 05:59:57 -0000 1.332 @@ -882,7 +882,8 @@ static void preview_progress_disable(preview_data *data) { ufraw_progress = NULL; - g_timer_destroy(ProgressTimer); + if (ProgressTimer != NULL) + g_timer_destroy(ProgressTimer); render_status_text(data); } @@ -5655,6 +5656,8 @@ while (gtk_events_pending()) gtk_main_iteration(); #endif if ( CFG->WindowMaximized ) { + preview_progress_disable(data); + while (gtk_events_pending()) gtk_main_iteration(); // scroll widget is allocated size only after gtk_widget_show_all() int scrollWidth = scroll->allocation.width; int scrollHeight = scroll->allocation.height; ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ ufraw-cvs mailing list ufraw-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ufraw-cvs