[gimp/gtk3-port: 78/231] plug-ins: port file-png to GTK+ 3.0



commit 01422b0199be2fa524ec7f4d8edf936b847b9392
Author: Michael Natterer <mitch gimp org>
Date:   Sun Oct 24 00:37:02 2010 +0200

    plug-ins: port file-png to GTK+ 3.0

 plug-ins/common/file-png.c |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/plug-ins/common/file-png.c b/plug-ins/common/file-png.c
index 55e7bb2..a7f53dd 100644
--- a/plug-ins/common/file-png.c
+++ b/plug-ins/common/file-png.c
@@ -97,16 +97,16 @@ PngSaveVals;
 
 typedef struct
 {
-  gboolean   run;
-
-  GtkWidget *interlaced;
-  GtkWidget *bkgd;
-  GtkWidget *gama;
-  GtkWidget *offs;
-  GtkWidget *phys;
-  GtkWidget *time;
-  GtkWidget *comment;
-  GtkWidget *save_transp_pixels;
+  gboolean       run;
+
+  GtkWidget     *interlaced;
+  GtkWidget     *bkgd;
+  GtkWidget     *gama;
+  GtkWidget     *offs;
+  GtkWidget     *phys;
+  GtkWidget     *time;
+  GtkWidget     *comment;
+  GtkWidget     *save_transp_pixels;
   GtkAdjustment *compression_level;
   GtkWidget *save_exif;
   GtkWidget *save_xmp;
@@ -2253,7 +2253,9 @@ save_dialog (gint32    image_ID,
   /* Compression level scale */
   pg.compression_level =
     GTK_ADJUSTMENT (gtk_builder_get_object (builder, "compression-level"));
+
   gtk_adjustment_set_value (pg.compression_level, pngvals.compression_level);
+
   g_signal_connect (pg.compression_level, "value-changed",
                     G_CALLBACK (gimp_int_adjustment_update),
                     &pngvals.compression_level);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]