[gimp] map-object: put the y value in the y spinner



commit e68df278538e1692a2844122889bf85c45595983
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Sun Feb 13 08:59:02 2011 +0100

    map-object: put the y value in the y spinner

 plug-ins/map-object/map-object-preview.c |    2 +-
 plug-ins/map-object/map-object-ui.c      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/map-object/map-object-preview.c b/plug-ins/map-object/map-object-preview.c
index 89c3890..b2c2ebe 100644
--- a/plug-ins/map-object/map-object-preview.c
+++ b/plug-ins/map-object/map-object-preview.c
@@ -322,7 +322,7 @@ update_light (gint xpos,
 
   gimp_vector_2d_to_3d (startx, starty, pw, ph, xpos, ypos,
 			&mapvals.viewpoint, &mapvals.lightsource.position);
-  draw_lights (startx, starty,pw, ph);
+  draw_lights (startx, starty, pw, ph);
 }
 
 /******************************************************************/
diff --git a/plug-ins/map-object/map-object-ui.c b/plug-ins/map-object/map-object-ui.c
index 65d632a..35054f3 100644
--- a/plug-ins/map-object/map-object-ui.c
+++ b/plug-ins/map-object/map-object-ui.c
@@ -99,7 +99,7 @@ update_light_pos_entries (void)
                                    gimp_double_adjustment_update,
                                    &mapvals.lightsource.position.y);
   gtk_adjustment_set_value (GTK_ADJUSTMENT (yadj),
-			    mapvals.lightsource.position.x);
+			    mapvals.lightsource.position.y);
   g_signal_handlers_unblock_by_func (yadj,
                                      gimp_double_adjustment_update,
                                      &mapvals.lightsource.position.y);



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