[geary/wip/714793-orientation] Fix version check for MAJOR_VERSION > 3



commit 0c96291b80e80ef17c562813f5182808cf31d7f0
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 672f21e..7ee781b 100644
--- a/src/client/components/main-window.vala
+++ b/src/client/components/main-window.vala
@@ -177,7 +177,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]