mirror of https://github.com/GNOME/gimp.git
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:
parent
ae7184b6fa
commit
074c967274
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue