diff src/layout.c @ 1029:1a4b18c58556

Use a constant for minimal window size. Set it to 32 for all dialogs.
author zas_
date Mon, 01 Sep 2008 17:29:07 +0000
parents 45ce6c1f331e
children 5fc64d6252e7
line wrap: on
line diff
--- a/src/layout.c	Mon Sep 01 17:22:19 2008 +0000
+++ b/src/layout.c	Mon Sep 01 17:29:07 2008 +0000
@@ -1323,8 +1323,8 @@
 			hints = 0;
 			}
 
-		geometry.min_width = 32;
-		geometry.min_height = 32;
+		geometry.min_width = DEFAULT_MINIMAL_WINDOW_SIZE;
+		geometry.min_height = DEFAULT_MINIMAL_WINDOW_SIZE;
 		geometry.base_width = TOOLWINDOW_DEF_WIDTH;
 		geometry.base_height = TOOLWINDOW_DEF_HEIGHT;
 		gtk_window_set_geometry_hints(GTK_WINDOW(lw->tools), NULL, &geometry,