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



commit 6c7daaf8b9b1aa425d02f890b4708c8a63b79a8c
Author: Benjamin Otte <otte redhat com>
Date:   Tue Sep 28 18:24:34 2010 +0200

    notebook: Fix compilation warnings - missing cast

 gtk/gtknotebook.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index c5b880c..e510b4e 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -4529,7 +4529,7 @@ gtk_notebook_real_remove (GtkNotebook *notebook,
   GtkWidget *tab_label;
   gboolean destroying;
 
-  destroying = gtk_widget_in_destruction (notebook);
+  destroying = gtk_widget_in_destruction (GTK_WIDGET (notebook));
 
   next_list = gtk_notebook_search_page (notebook, list, STEP_NEXT, TRUE);
   if (!next_list)



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