[gimp/gtk3-port: 108/237] plug-ins: s/GtkObject/GtkAdjustment/ in file-pdf-load
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 108/237] plug-ins: s/GtkObject/GtkAdjustment/ in file-pdf-load
- Date: Wed, 11 May 2011 20:50:25 +0000 (UTC)
commit 8ede21579b02a4befba6dda411e7b76a033e0cd3
Author: Michael Natterer <mitch gimp org>
Date: Sun Oct 31 21:50:28 2010 +0100
plug-ins: s/GtkObject/GtkAdjustment/ in file-pdf-load
plug-ins/common/file-pdf-load.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/common/file-pdf-load.c b/plug-ins/common/file-pdf-load.c
index 5a29a82..cdbef23 100644
--- a/plug-ins/common/file-pdf-load.c
+++ b/plug-ins/common/file-pdf-load.c
@@ -129,7 +129,7 @@ struct _GimpResolutionEntryField
guint changed_signal;
- GtkObject *adjustment;
+ GtkAdjustment *adjustment;
GtkWidget *spinbutton;
gdouble phy_size;
@@ -1608,7 +1608,7 @@ gimp_resolution_entry_update_value (GimpResolutionEntryField *gref,
factor);
}
- gtk_adjustment_set_value (GTK_ADJUSTMENT (gref->adjustment), value);
+ gtk_adjustment_set_value (gref->adjustment, value);
gref->stop_recursion--;
@@ -1651,8 +1651,7 @@ gimp_resolution_entry_update_unit (GimpResolutionEntry *gre,
gre->x.max_value *= factor;
gre->x.value *= factor;
- gtk_adjustment_set_value (GTK_ADJUSTMENT (gre->x.adjustment),
- gre->x.value);
+ gtk_adjustment_set_value (gre->x.adjustment, gre->x.value);
gimp_resolution_entry_format_label (gre,
gre->width.label, gre->width.phy_size);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]