[geary/wip/714793-orientation2: 6/6] Fix version check for MAJOR_VERSION > 3



commit 86209164d4331f095def0b64cd04869b988c634e
Author: Robert Schroll <rschroll gmail com>
Date:   Fri Feb 20 19:15:18 2015 -0500

    Fix version check for MAJOR_VERSION > 3

 src/client/components/main-window.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/client/components/main-window.vala b/src/client/components/main-window.vala
index b83c1c6..fcee808 100644
--- a/src/client/components/main-window.vala
+++ b/src/client/components/main-window.vala
@@ -166,7 +166,7 @@ public class MainWindow : Gtk.ApplicationWindow {
             }
         """;
         
-        if(Gtk.MAJOR_VERSION >= 3 && Gtk.MINOR_VERSION >= 14) {
+        if(Gtk.MAJOR_VERSION > 3 || Gtk.MAJOR_VERSION == 3 && Gtk.MINOR_VERSION >= 14) {
             // Gtk >= 3.14: Borders only along status bar
             css += """
                   .folder-frame {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]