[gimp/gtk3-port: 77/234] plug-ins: port jpeg-save to GTK+ 3.0
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 77/234] plug-ins: port jpeg-save to GTK+ 3.0
- Date: Tue, 15 Nov 2016 18:02:56 +0000 (UTC)
commit 2cb3ef1e9754cafe2ec9d7c1632068e8d0ea4877
Author: Michael Natterer <mitch gimp org>
Date: Sun Oct 24 00:02:52 2010 +0200
plug-ins: port jpeg-save to GTK+ 3.0
plug-ins/file-jpeg/jpeg-save.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/plug-ins/file-jpeg/jpeg-save.c b/plug-ins/file-jpeg/jpeg-save.c
index c38ff5c..c18a44d 100644
--- a/plug-ins/file-jpeg/jpeg-save.c
+++ b/plug-ins/file-jpeg/jpeg-save.c
@@ -1352,18 +1352,14 @@ load_gui_defaults (JpegSaveGui *pg)
g_signal_handler_block (pg->use_restart_markers, pg->handler_id_restart);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (pg->use_restart_markers),
jsvals.restart);
- restart_markers = GTK_ADJUSTMENT (pg->scale_data);
+ restart_markers = pg->scale_data;
gtk_adjustment_set_value (restart_markers, jsvals.restart);
g_signal_handler_unblock (pg->use_restart_markers, pg->handler_id_restart);
- gtk_adjustment_set_value (GTK_ADJUSTMENT (pg->smoothing),
- jsvals.smoothing);
-
/* Don't override quality and subsampling setting if we alredy set it from original */
if (!jsvals.use_orig_quality)
{
- gtk_adjustment_set_value (GTK_ADJUSTMENT (pg->quality),
- jsvals.quality);
+ gtk_adjustment_set_value (pg->quality, jsvals.quality);
if (gimp_drawable_is_rgb (drawable_ID_global))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]