[gimp/soc-2010-cage-2] app: don't use -1 for geometry hints where not allowed
- From: Michael Muré <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2010-cage-2] app: don't use -1 for geometry hints where not allowed
- Date: Thu, 30 Dec 2010 18:14:22 +0000 (UTC)
commit 2e0384823f806aa7bc065759185183e753dec617
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]