bugfix: ugly white border (gtk 3.20>) (#128)

This commit is contained in:
Mike Krüger 2017-06-01 11:41:50 +02:00 committed by Clement Lefebvre
parent efcaac200a
commit f004e93547
1 changed files with 4 additions and 1 deletions

View File

@ -714,7 +714,10 @@ xed_notebook_init (XedNotebook *notebook)
notebook->priv->tab_scrolling_enabled = g_settings_get_boolean (notebook->priv->ui_settings, "enable-tab-scrolling");
gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook), TRUE);
// gtk_notebook_set_show_border (GTK_NOTEBOOK (notebook), FALSE);
#if GTK_CHECK_VERSION (3, 20, 0)
gtk_notebook_set_show_border (GTK_NOTEBOOK (notebook), FALSE);
#endif
gtk_notebook_set_show_tabs (GTK_NOTEBOOK (notebook), FALSE);
g_signal_connect (notebook, "button-press-event",