[glade/margins] gladeui/glade-utils.c: Correctly detect the required devhelp version



commit 7e6f393c36c352cec6cb342801d882b106a44454
Author: Javier Jardón <jjardon gnome org>
Date:   Fri Apr 29 19:31:51 2011 +0100

    gladeui/glade-utils.c: Correctly detect the required devhelp version

 ChangeLog             |    4 ++++
 gladeui/glade-utils.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index bf7fef6..1f79a83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-29  Javier Jardón <jjardon gnome org>
+
+	* gladeui/glade-utils.c: Correctly detect the required devhelp version
+
 2011-04-22  Tristan Van Berkom <tvb gnome org>
 
 	* src/main.c: Fixed loading correct application icon (bug 648487
diff --git a/gladeui/glade-utils.c b/gladeui/glade-utils.c
index a8023ea..358c5e6 100644
--- a/gladeui/glade-utils.c
+++ b/gladeui/glade-utils.c
@@ -983,7 +983,7 @@ glade_util_have_devhelp (void)
                 {
                   /* Devhelp 0.12 required.
                    */
-                  if (major >= 0 && minor >= 12)
+                  if (major >= 2 || (major >= 0 && minor >= 12))
                     have_devhelp = 1;
                   else
                     g_message (DEVHELP_OLD_MESSAGE);



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