diff src/pan-view.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 9962b24b6b43
children 77ca9a5d42be
line wrap: on
line diff
--- a/src/pan-view.c	Mon Sep 01 17:22:19 2008 +0000
+++ b/src/pan-view.c	Mon Sep 01 17:29:07 2008 +0000
@@ -2377,8 +2377,8 @@
 
 	pw->window = window_new(GTK_WINDOW_TOPLEVEL, "panview", NULL, NULL, _("Pan View"));
 
-	geometry.min_width = 8;
-	geometry.min_height = 8;
+	geometry.min_width = DEFAULT_MINIMAL_WINDOW_SIZE;
+	geometry.min_height = DEFAULT_MINIMAL_WINDOW_SIZE;
 	gtk_window_set_geometry_hints(GTK_WINDOW(pw->window), NULL, &geometry, GDK_HINT_MIN_SIZE);
 
 	gtk_window_set_resizable(GTK_WINDOW(pw->window), TRUE);