[Xfce4-commits] [apps/xfce4-terminal] 01/01: min-height/width CSS properties not available in old GTK versions

noreply at xfce.org noreply at xfce.org
Tue Jan 10 10:33:42 CET 2017


This is an automated email from the git hooks/post-receive script.

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit 5cd9871cc9f546a0ffc06887cf7aaff1f37b4256
Author: Igor <f2404 at yandex.ru>
Date:   Tue Jan 10 12:33:38 2017 +0300

    min-height/width CSS properties not available in old GTK versions
---
 terminal/terminal-window.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 2dc49df..63d1aa2 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -74,20 +74,26 @@ enum
 #define NOTEBOOK_NAME PACKAGE_NAME "-notebook"
 const gchar *CSS_SLIM_TABS =
 "#" NOTEBOOK_NAME " tab {\n"
-"  font-weight: normal;\n"
+#if GTK_CHECK_VERSION (3, 20, 0)
 "  min-height: 0;\n"
+#endif
+"  font-weight: normal;\n"
 "  padding: 1px;\n"
 "  margin: 0;\n"
 "}\n"
 "#" NOTEBOOK_NAME " tab button {\n"
+#if GTK_CHECK_VERSION (3, 20, 0)
 "  min-height: 0;\n"
 "  min-width: 0;\n"
+#endif
 "  padding: 1px;\n"
 "  margin: 0;\n"
 "}\n"
 "#" NOTEBOOK_NAME " button {\n"
+#if GTK_CHECK_VERSION (3, 20, 0)
 "  min-height: 0;\n"
 "  min-width: 0;\n"
+#endif
 "  padding: 1px;\n"
 "}\n";
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list