[gnumeric] Compilation: don't use internal copy of GtkNotebook if GTK+>=2.17.1



commit ed6d38ed835047f3ac4584930a4f096b70c3dc4f
Author: Morten Welinder <terra gnome org>
Date:   Thu Jun 11 11:44:52 2009 -0400

    Compilation: don't use internal copy of GtkNotebook if GTK+>=2.17.1

 src/widgets/ChangeLog      |    5 +++++
 src/widgets/gnm-notebook.c |    3 +++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/widgets/ChangeLog b/src/widgets/ChangeLog
index dcac2f3..491220f 100644
--- a/src/widgets/ChangeLog
+++ b/src/widgets/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-11  Morten Welinder  <terra gnome org>
+
+	* gnm-notebook.c: Turn off internal copy of GtkNotebook if
+	GTK+>=2.17.1.
+
 2009-05-23  Morten Welinder <terra gnome org>
 
 	* Release 1.9.8
diff --git a/src/widgets/gnm-notebook.c b/src/widgets/gnm-notebook.c
index 76b912e..1155aea 100644
--- a/src/widgets/gnm-notebook.c
+++ b/src/widgets/gnm-notebook.c
@@ -23,7 +23,10 @@
 #include "gnm-notebook.h"
 #include <gsf/gsf-impl-utils.h>
 
+#if !GTK_CHECK_VERSION(2,17,1)
+/* 582488 GtkNotebook behaves poorly when allocated less than reque... */
 #define USE_INTERNAL_COPY_OF_GTK_NOTEBOOK
+#endif
 
 #ifdef USE_INTERNAL_COPY_OF_GTK_NOTEBOOK
 



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