[gnumeric] add missing braces.



commit bf60bc5974c6b94359d59362ba6c5418d4667ed7
Author: Jean Brefort <jean acer fbx proxad net>
Date:   Mon Apr 20 15:48:13 2009 +0200

    add missing braces.
---
 src/commands.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/commands.c b/src/commands.c
index d281eda..1551486 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -7208,15 +7208,15 @@ cmd_so_set_checkbox (WorkbookControl *wbc,
 
 #ifndef HAVE_GTK_ADJUSTMENT_CONFIGURE
 #       define gtk_adjustment_configure(adjustment,value,lower,upper,step_increment,page_increment,page_size) \
-		g_object_set (G_OBJECT (adjustment), "value", (double) value, "lower", (double) lower, "upper", (double) upper, \
-				"step-increment", (double) step_increment, "page-increment", (double) page_increment, \
-				"page-size", (double) page_size, NULL)
-#       define gtk_adjustment_get_value(adjustment)     adjustment->value
-#       define gtk_adjustment_get_lower(adjustment)     adjustment->lower
-#       define gtk_adjustment_get_upper(adjustment)     adjustment->upper
-#       define gtk_adjustment_get_step_increment(adjustment)     adjustment->step_increment
-#       define gtk_adjustment_get_page_increment(adjustment)     adjustment->page_increment
-#       define gtk_adjustment_get_page_size(adjustment)     adjustment->page_size
+		g_object_set (G_OBJECT (adjustment), "value", (double) (value), "lower", (double) (lower), "upper", (double) (upper), \
+				"step-increment", (double) (step_increment), "page-increment", (double) (page_increment), \
+				"page-size", (double) (page_size), NULL)
+#       define gtk_adjustment_get_value(adjustment)     (adjustment)->value
+#       define gtk_adjustment_get_lower(adjustment)     (adjustment)->lower
+#       define gtk_adjustment_get_upper(adjustment)     (adjustment)->upper
+#       define gtk_adjustment_get_step_increment(adjustment)     (adjustment)->step_increment
+#       define gtk_adjustment_get_page_increment(adjustment)     (adjustment)->page_increment
+#       define gtk_adjustment_get_page_size(adjustment)     (adjustment)->page_size
 #endif
 
 typedef struct {



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