app/dialogs/resize-dialog.c (resize_dialog_reset) don't rely on GObject
2005-03-02 Sven Neumann <sven@gimp.org> * app/dialogs/resize-dialog.c (resize_dialog_reset) * app/dialogs/scale-dialog.c (scale_dialog_reset): don't rely on GObject internals about the order in which properties are being set. Fixes one aspect of bug #169011.
This commit is contained in:
committed by
Sven Neumann
parent
80a6700cb0
commit
2b3bb7d1a0
@ -286,9 +286,15 @@ scale_dialog_reset (ScaleDialog *private)
|
||||
|
||||
g_object_set (private->box,
|
||||
"keep-aspect", FALSE,
|
||||
NULL);
|
||||
|
||||
g_object_set (private->box,
|
||||
"width", width,
|
||||
"height", height,
|
||||
"unit", private->unit,
|
||||
NULL);
|
||||
|
||||
g_object_set (private->box,
|
||||
"keep-aspect", TRUE,
|
||||
"xresolution", xres,
|
||||
"yresolution", yres,
|
||||
|
||||
Reference in New Issue
Block a user