[geary] Fix version check for MAJOR_VERSION > 3



commit 97b0abb5cee518b316a71cd72185e20adf22b95e
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 6f48e0b..1b03041 100644
--- a/src/client/components/main-window.vala
+++ b/src/client/components/main-window.vala
@@ -168,7 +168,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]