[gtk+] combobox: Fix compilation warnings - missing cast



commit 7adeca53b23c00fecb3272459cf586b8e4778332
Author: Benjamin Otte <otte redhat com>
Date:   Tue Sep 28 18:24:14 2010 +0200

    combobox: Fix compilation warnings - missing cast

 gtk/gtkcombobox.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index f8ce6db..6076c6c 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -1283,7 +1283,7 @@ gtk_combo_box_remove (GtkContainer *container,
   gtk_widget_unparent (widget);
   _gtk_bin_set_child (GTK_BIN (container), NULL);
 
-  if (gtk_widget_in_destruction (combo_box))
+  if (gtk_widget_in_destruction (GTK_WIDGET (combo_box)))
     return;
 
   gtk_widget_queue_resize (GTK_WIDGET (container));



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