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
@ -346,9 +346,15 @@ resize_dialog_reset (ResizeDialog *private)
|
||||
{
|
||||
g_object_set (private->box,
|
||||
"keep-aspect", FALSE,
|
||||
NULL);
|
||||
|
||||
g_object_set (private->box,
|
||||
"width", private->old_width,
|
||||
"height", private->old_height,
|
||||
"unit", private->old_unit,
|
||||
NULL);
|
||||
|
||||
g_object_set (private->box,
|
||||
"keep-aspect", TRUE,
|
||||
NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user