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



commit 90be878744ea2f92813882227c3dd52d7a99ab97
Author: Javier Jardón <jjardon gnome org>
Date:   Fri Apr 29 20:01:41 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 72d8e93..f459309 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-04  Tristan Van Berkom <tristanvb openismus com>
 
 	* configure.ac, NEWS: Rolling Glade 3.8.
diff --git a/gladeui/glade-utils.c b/gladeui/glade-utils.c
index a7c4f15..0032465 100644
--- a/gladeui/glade-utils.c
+++ b/gladeui/glade-utils.c
@@ -1626,7 +1626,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]