[gnumeric] Compilation: warning fixes.



commit 3cac75168292ca42dc39df66cc0e243b51f10320
Author: Morten Welinder <terra gnome org>
Date:   Fri Nov 5 19:14:57 2010 -0400

    Compilation: warning fixes.

 src/sheet-control-gui.c            |    4 ++--
 src/widgets/widget-font-selector.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/sheet-control-gui.c b/src/sheet-control-gui.c
index 8524a6e..c351470 100644
--- a/src/sheet-control-gui.c
+++ b/src/sheet-control-gui.c
@@ -870,7 +870,7 @@ scg_set_top_left (SheetControl *sc, int col, int row)
 
 static void
 gnm_pane_make_cell_visible (GnmPane *pane, int col, int row,
-			      gboolean const force_scroll)
+			    gboolean const force_scroll)
 {
 	GocCanvas *canvas;
 	Sheet *sheet;
@@ -883,7 +883,7 @@ gnm_pane_make_cell_visible (GnmPane *pane, int col, int row,
 	 * visible area, and would unconditionally scroll the cell to the top
 	 * left of the viewport.
 	 */
-	if (!gtk_widget_get_realized (pane))
+	if (!gtk_widget_get_realized (GTK_WIDGET (pane)))
 		return;
 
 	sheet = scg_sheet (pane->simple.scg);
diff --git a/src/widgets/widget-font-selector.c b/src/widgets/widget-font-selector.c
index 86e19ae..27921b5 100644
--- a/src/widgets/widget-font-selector.c
+++ b/src/widgets/widget-font-selector.c
@@ -267,7 +267,7 @@ select_row (GtkTreeView *list, int row)
 		path = gtk_tree_path_new_from_indices (row, -1);
 
 		gtk_tree_selection_select_path (gtk_tree_view_get_selection (list), path);
-		if (gtk_widget_get_realized (list))
+		if (gtk_widget_get_realized (GTK_WIDGET (list)))
 			cb_list_adjust (list);
 		gtk_tree_path_free (path);
 	}



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