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

Shrinking no longer allowed to avoid SIGSEGV

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

	* pattern_select.c (pattern_select_new): Shrinking no longer
	allowed to avoid SIGSEGV
parent 074c9672
...@@ -95,7 +95,7 @@ pattern_select_new () ...@@ -95,7 +95,7 @@ pattern_select_new ()
gtk_window_set_title (GTK_WINDOW (psp->shell), "Pattern Selection"); gtk_window_set_title (GTK_WINDOW (psp->shell), "Pattern Selection");
vbox = gtk_vbox_new (FALSE, 1); vbox = gtk_vbox_new (FALSE, 1);
gtk_container_border_width (GTK_CONTAINER (vbox), 1); gtk_container_border_width (GTK_CONTAINER (vbox), 1);
gtk_window_set_policy(GTK_WINDOW(psp->shell), TRUE, TRUE, FALSE); gtk_window_set_policy(GTK_WINDOW(psp->shell), FALSE, TRUE, FALSE);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (psp->shell)->vbox), vbox, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (psp->shell)->vbox), vbox, TRUE, TRUE, 0);
/* handle the wm close event */ /* handle the wm close event */
......
...@@ -95,7 +95,7 @@ pattern_select_new () ...@@ -95,7 +95,7 @@ pattern_select_new ()
gtk_window_set_title (GTK_WINDOW (psp->shell), "Pattern Selection"); gtk_window_set_title (GTK_WINDOW (psp->shell), "Pattern Selection");
vbox = gtk_vbox_new (FALSE, 1); vbox = gtk_vbox_new (FALSE, 1);
gtk_container_border_width (GTK_CONTAINER (vbox), 1); gtk_container_border_width (GTK_CONTAINER (vbox), 1);
gtk_window_set_policy(GTK_WINDOW(psp->shell), TRUE, TRUE, FALSE); gtk_window_set_policy(GTK_WINDOW(psp->shell), FALSE, TRUE, FALSE);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (psp->shell)->vbox), vbox, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (psp->shell)->vbox), vbox, TRUE, TRUE, 0);
/* handle the wm close event */ /* handle the wm close event */
......
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