gtk+ r20660 - in trunk: . gtk
- From: jody svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20660 - in trunk: . gtk
- Date: Sat, 21 Jun 2008 00:53:17 +0000 (UTC)
Author: jody
Date: Sat Jun 21 00:53:17 2008
New Revision: 20660
URL: http://svn.gnome.org/viewvc/gtk+?rev=20660&view=rev
Log:
2008-06-20 Jody Goldberg <jody gnome org>
* gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) :
Fix life cycle to avoid crash. [#536966]
Modified:
trunk/ChangeLog
trunk/gtk/gtkprintoperation-win32.c
Modified: trunk/gtk/gtkprintoperation-win32.c
==============================================================================
--- trunk/gtk/gtkprintoperation-win32.c (original)
+++ trunk/gtk/gtkprintoperation-win32.c Sat Jun 21 00:53:17 2008
@@ -1867,9 +1867,6 @@
devmode_to_settings (settings, pagesetupdlg->hDevMode);
}
- if (free_settings)
- g_object_unref (settings);
-
if (res)
{
gtk_page_setup_set_orientation (page_setup,
@@ -1906,6 +1903,9 @@
unit);
}
+ if (free_settings)
+ g_object_unref (settings);
+
return page_setup;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]