Commit 074c9672 authored by CST 1998  Francisco Bustamante's avatar CST 1998 Francisco Bustamante Committed by Arturo Espinosa

Changed call to gtk_window_set_policy to avoid shrinking of the dialog as

Sun Feb 22 22:07:10 CST 1998  Francisco Bustamante <pancho@nuclecu.unam.mx>

	* brush_select.c (brush_select_new): Changed call to gtk_window_set_policy
	  to avoid shrinking of the dialog as it caused a SIGSEGV when shrinked to
	  a very small size.
parent ae7184b6
......@@ -139,7 +139,7 @@ brush_select_new ()
bsp->shell = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (bsp->shell), "brushselection", "Gimp");
gtk_window_set_title (GTK_WINDOW (bsp->shell), "Brush Selection");
gtk_window_set_policy(GTK_WINDOW(bsp->shell), TRUE, TRUE, FALSE);
gtk_window_set_policy(GTK_WINDOW(bsp->shell), FALSE, TRUE, FALSE);
vbox = gtk_vbox_new (FALSE, 1);
gtk_container_border_width (GTK_CONTAINER (vbox), 2);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (bsp->shell)->vbox), vbox, TRUE, TRUE, 0);
......
......@@ -139,7 +139,7 @@ brush_select_new ()
bsp->shell = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (bsp->shell), "brushselection", "Gimp");
gtk_window_set_title (GTK_WINDOW (bsp->shell), "Brush Selection");
gtk_window_set_policy(GTK_WINDOW(bsp->shell), TRUE, TRUE, FALSE);
gtk_window_set_policy(GTK_WINDOW(bsp->shell), FALSE, TRUE, FALSE);
vbox = gtk_vbox_new (FALSE, 1);
gtk_container_border_width (GTK_CONTAINER (vbox), 2);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (bsp->shell)->vbox), vbox, TRUE, TRUE, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment