From 9736d3cfb834e6d7c6ab72310a112502a3ef5f5e Mon Sep 17 00:00:00 2001
From: rds <rds>
Date: Fri, 24 Feb 2006 11:22:35 +0000
Subject: [PATCH] use about dialog depending on gtk version

---
 src/zmapUtils/zmapGUIutils.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/zmapUtils/zmapGUIutils.c b/src/zmapUtils/zmapGUIutils.c
index 63db61268..1a349c2c7 100755
--- a/src/zmapUtils/zmapGUIutils.c
+++ b/src/zmapUtils/zmapGUIutils.c
@@ -25,9 +25,9 @@
  * Description: 
  * Exported functions: See ZMap/zmapUtilsGUI.h
  * HISTORY:
- * Last edited: Feb 20 12:04 2006 (edgrif)
+ * Last edited: Feb 24 11:06 2006 (rds)
  * Created: Thu Jul 24 14:37:35 2003 (edgrif)
- * CVS info:   $Id: zmapGUIutils.c,v 1.11 2006-02-21 15:06:55 edgrif Exp $
+ * CVS info:   $Id: zmapGUIutils.c,v 1.12 2006-02-24 11:22:35 rds Exp $
  *-------------------------------------------------------------------
  */
 
@@ -109,6 +109,7 @@ char *zMapGUIMakeTitleString(char *window_type, char *message)
  *  */
 void zMapGUIShowAbout(void)
 {
+#if GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 6
   GtkWidget *about_dialog ;
   gchar *authors[] = {"Ed Griffiths", "Roy Storey", NULL} ;
 
@@ -131,7 +132,7 @@ void zMapGUIShowAbout(void)
 
   gtk_widget_show_all(about_dialog) ;
 
-
+#endif
   return ;
 }
 
-- 
GitLab