Get rid of the problems described in bug7377

Bissecting shows, that the problem was introduced by commit

r43009 | etxrab | 2012-06-03 01:53:04 +0200 (So, 03 Jun 2012) | 1 line

From Evan Huus Convert a bunch more GTK-2 calls to their cross-version ws_ equivalent

To get the problems back, compile with -DBREAK_GTK3


svn path=/trunk/; revision=43787
This commit is contained in:
Jörg Mayer 2012-07-18 17:38:19 +00:00
parent 2643a5b02d
commit ebccbb0829
1 changed files with 4 additions and 0 deletions

View File

@ -3746,7 +3746,11 @@ create_main_window (gint pl_size, gint tv_size, gint bv_size, e_prefs *prefs_p)
G_CALLBACK(top_level_key_pressed_cb), NULL );
/* Vertical container for menu bar, toolbar(s), paned windows and progress/info box */
#if BREAK_GTK3
main_vbox = ws_gtk_box_new(GTK_ORIENTATION_VERTICAL, 1, FALSE);
#else
main_vbox = gtk_vbox_new(FALSE, 1);
#endif
gtk_container_set_border_width(GTK_CONTAINER(main_vbox), 0);
gtk_container_add(GTK_CONTAINER(top_level), main_vbox);
gtk_widget_show(main_vbox);