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.
This commit is contained in:
CST 1998 Francisco Bustamante 1998-02-23 04:05:12 +00:00 committed by Arturo Espinosa
parent ae7184b6fa
commit 074c967274
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);