[gnumeric] compilation: fix type issue.



commit 28766bb349151033809df17a1e56f0b5c73c05b5
Author: Morten Welinder <terra gnome org>
Date:   Sat Oct 15 12:31:25 2011 -0400

    compilation: fix type issue.

 src/dialogs/ChangeLog            |    4 ++++
 src/dialogs/dialog-cell-format.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 339d5ff..a861be8 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,7 @@
+2011-10-15  Morten Welinder  <terra gnome org>
+
+	* dialog-cell-format.c (draw_border_preview): Fix type issue.
+
 2011-10-15  Jean Brefort  <jean vaio>
 
 	* cell-format-cond.ui: removed deprecated Gtk[H,V]*.
diff --git a/src/dialogs/dialog-cell-format.c b/src/dialogs/dialog-cell-format.c
index e110134..bf01b4b 100644
--- a/src/dialogs/dialog-cell-format.c
+++ b/src/dialogs/dialog-cell-format.c
@@ -1263,7 +1263,7 @@ draw_border_preview (FormatState *state)
 		gtk_widget_show (GTK_WIDGET (state->border.canvas));
 		gtk_widget_set_size_request (GTK_WIDGET (state->border.canvas),
 					     150, 100);
-		gtk_grid_attach (GTK_CONTAINER (go_gtk_builder_get_widget (state->gui, "border-sample-container")),
+		gtk_grid_attach (GTK_GRID (go_gtk_builder_get_widget (state->gui, "border-sample-container")),
 				   GTK_WIDGET (state->border.canvas), 1, 1, 3, 3);
 		group = GOC_GROUP (goc_canvas_get_root (state->border.canvas));
 



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