From f004e93547923bf40d7c7f8b153b47563f030fcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Kr=C3=BCger?= Date: Thu, 1 Jun 2017 11:41:50 +0200 Subject: [PATCH] bugfix: ugly white border (gtk 3.20>) (#128) --- xed/xed-notebook.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xed/xed-notebook.c b/xed/xed-notebook.c index b0b7022..481afa5 100644 --- a/xed/xed-notebook.c +++ b/xed/xed-notebook.c @@ -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",