[gnumeric] Dead Kittens: fix misnamed macro.



commit c4d6e93815eff397e132559cf79327b6459a293e
Author: Morten Welinder <terra gnome org>
Date:   Sat Mar 12 17:01:43 2011 -0500

    Dead Kittens: fix misnamed macro.

 ChangeLog          |    6 ++++++
 src/dead-kittens.h |    6 +-----
 2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e00d708..58c33d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-03-12  Morten Welinder  <terra gnome org>
+
+	* src/dead-kittens.h (gtk_adjustment_get_upper): Macro had wrong
+	name.
+	(gtk_dialog_get_content_area): We only need one of these.
+
 2011-03-11  Morten Welinder  <terra gnome org>
 
 	* src/gutils.c (gnm_insert_meta_date): Use GsfTimestamp.
diff --git a/src/dead-kittens.h b/src/dead-kittens.h
index d683dff..2b64b79 100644
--- a/src/dead-kittens.h
+++ b/src/dead-kittens.h
@@ -151,10 +151,6 @@
 #  endif
 #endif
 
-#ifndef  HAVE_GTK_DIALOG_GET_CONTENT_AREA
-#define gtk_dialog_get_content_area(w) ((w)->vbox)
-#endif
-
 #ifndef HAVE_GTK_ADJUSTMENT_CONFIGURE
 #define gtk_adjustment_configure(_a,_v,_l,_u,_si,_pi,_ps)	\
   g_object_set ((_a),						\
@@ -172,7 +168,7 @@
 #endif
 
 #ifndef HAVE_GTK_ADJUSTMENT_GET_UPPER
-#define gtk_adjustment_get_lower(_a) ((_a)->upper)
+#define gtk_adjustment_get_upper(_a) ((_a)->upper)
 #endif
 
 #ifndef HAVE_GTK_ADJUSTMENT_GET_PAGE_SIZE



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