[gimp/gtk3-port: 45/143] app: s/GtkObject/GtkAdjustment/
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 45/143] app: s/GtkObject/GtkAdjustment/
- Date: Thu, 9 Dec 2010 22:52:20 +0000 (UTC)
commit 62a5efaf07dc1b26fbfd97e45bb4df8781ea2dd3
Author: Michael Natterer <mitch gimp org>
Date: Fri Oct 15 15:03:47 2010 +0200
app: s/GtkObject/GtkAdjustment/
app/widgets/gimppaletteeditor.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/app/widgets/gimppaletteeditor.c b/app/widgets/gimppaletteeditor.c
index fa1e439..1c5aae7 100644
--- a/app/widgets/gimppaletteeditor.c
+++ b/app/widgets/gimppaletteeditor.c
@@ -165,7 +165,6 @@ gimp_palette_editor_init (GimpPaletteEditor *editor)
GtkWidget *hbox;
GtkWidget *label;
GtkWidget *spinbutton;
- GtkObject *adj;
editor->zoom_factor = 1.0;
editor->col_width = 0;
@@ -237,8 +236,8 @@ gimp_palette_editor_init (GimpPaletteEditor *editor)
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
gtk_widget_show (label);
- spinbutton = gimp_spin_button_new (&adj, 0, 0, 64, 1, 4, 0, 1, 0);
- editor->columns_data = GTK_ADJUSTMENT (adj);
+ spinbutton = gimp_spin_button_new (&editor->columns_data,
+ 0, 0, 64, 1, 4, 0, 1, 0);
gtk_box_pack_start (GTK_BOX (hbox), spinbutton, FALSE, FALSE, 0);
gtk_widget_show (spinbutton);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]