[gtk+/native-layout] Fixed warnings due to missing GTK_WIDGET (cellview) casting.



commit 629bb5a2658e2035912c4da1b03d43027fc41564
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Sat Apr 10 22:31:52 2010 -0400

    Fixed warnings due to missing GTK_WIDGET (cellview) casting.

 gtk/gtkcellview.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c
index 215ccec..123129b 100644
--- a/gtk/gtkcellview.c
+++ b/gtk/gtkcellview.c
@@ -569,7 +569,7 @@ gtk_cell_view_cell_layout_pack_start (GtkCellLayout   *layout,
 
   cellview->priv->cell_list = g_list_append (cellview->priv->cell_list, info);
 
-  gtk_widget_queue_resize (cellview);
+  gtk_widget_queue_resize (GTK_WIDGET (cellview));
 }
 
 static void
@@ -591,7 +591,7 @@ gtk_cell_view_cell_layout_pack_end (GtkCellLayout   *layout,
 
   cellview->priv->cell_list = g_list_append (cellview->priv->cell_list, info);
 
-  gtk_widget_queue_resize (cellview);
+  gtk_widget_queue_resize (GTK_WIDGET (cellview));
 }
 
 static void



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