[gimp] app: don't use -1 for geometry hints where not allowed



commit 60242667be7038fbeb9e1782f5594d3828c927ee
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Wed Dec 8 10:18:09 2010 +0100

    app: don't use -1 for geometry hints where not allowed

 app/widgets/gimptoolbox.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/widgets/gimptoolbox.c b/app/widgets/gimptoolbox.c
index eb24752..b6fd332 100644
--- a/app/widgets/gimptoolbox.c
+++ b/app/widgets/gimptoolbox.c
@@ -662,9 +662,9 @@ gimp_toolbox_set_host_geometry_hints (GimpDock  *dock,
       geometry.min_width   = 2 * button_width;
       geometry.min_height  = -1;
       geometry.base_width  = button_width;
-      geometry.base_height = -1;
+      geometry.base_height = 0;
       geometry.width_inc   = button_width;
-      geometry.height_inc  = -1;
+      geometry.height_inc  = 1;
 
       gtk_window_set_geometry_hints (window,
                                      NULL,



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