[gtk+/gtk-2-90: 130/146] Fix compilation warning: cast to GTK_WIDGET



commit edae46f235a60786a4fff0ff031bb3b643686b47
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Nov 18 04:16:23 2009 +0100

    Fix compilation warning: cast to GTK_WIDGET

 gtk/gtkaccellabel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c
index 65f3d25..335b999 100644
--- a/gtk/gtkaccellabel.c
+++ b/gtk/gtkaccellabel.c
@@ -310,7 +310,7 @@ gtk_accel_label_expose_event (GtkWidget      *widget,
 
   direction = gtk_widget_get_direction (widget);
 
-  if (gtk_widget_is_drawable (accel_label))
+  if (gtk_widget_is_drawable (GTK_WIDGET (accel_label)))
     {
       guint ac_width;
       GtkAllocation allocation;



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