Skip to content

Commit

Permalink
bugfix: ugly white border (gtk 3.20>) (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Krüger authored and clefebvre committed Jun 1, 2017
1 parent efcaac2 commit f004e93
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xed/xed-notebook.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f004e93

Please sign in to comment.