[gthumb] resize images: correctly restore the last used width and height
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] resize images: correctly restore the last used width and height
- Date: Sun, 6 May 2012 08:39:20 +0000 (UTC)
commit b028c3e54db23e5ddc5205cdd3bfbea8d51b9ef9
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun May 6 10:38:59 2012 +0200
resize images: correctly restore the last used width and height
[bug #675498]
extensions/resize_images/dlg-resize-images.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/resize_images/dlg-resize-images.c b/extensions/resize_images/dlg-resize-images.c
index e1f45db..89de185 100644
--- a/extensions/resize_images/dlg-resize-images.c
+++ b/extensions/resize_images/dlg-resize-images.c
@@ -159,8 +159,8 @@ ok_clicked_cb (GtkWidget *widget,
MIME_TYPE_COLUMN_TYPE, &mime_type,
-1);
- g_settings_set_boolean (data->settings, PREF_RESIZE_IMAGES_SERIES_WIDTH, resize_data->width);
- g_settings_set_boolean (data->settings, PREF_RESIZE_IMAGES_SERIES_HEIGHT, resize_data->height);
+ g_settings_set_int (data->settings, PREF_RESIZE_IMAGES_SERIES_WIDTH, resize_data->width);
+ g_settings_set_int (data->settings, PREF_RESIZE_IMAGES_SERIES_HEIGHT, resize_data->height);
g_settings_set_enum (data->settings, PREF_RESIZE_IMAGES_UNIT, resize_data->unit);
g_settings_set_boolean (data->settings, PREF_RESIZE_IMAGES_KEEP_RATIO, resize_data->keep_aspect_ratio);
g_settings_set_string (data->settings, PREF_RESIZE_IMAGES_MIME_TYPE, mime_type ? mime_type : "");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]