[gtk+/native-layout] Fix missing GTK_WIDGET cast on printer option widget in construct_widgets



commit 20dcd8a723bcfc5e8cf4f2c6ed0e793580ed0f65
Author: Christian Dywan <christian twotoasts de>
Date:   Mon Jan 4 07:30:57 2010 +0100

    Fix missing GTK_WIDGET cast on printer option widget in construct_widgets

 gtk/gtkprinteroptionwidget.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkprinteroptionwidget.c b/gtk/gtkprinteroptionwidget.c
index 3039412..413b828 100644
--- a/gtk/gtkprinteroptionwidget.c
+++ b/gtk/gtkprinteroptionwidget.c
@@ -687,14 +687,14 @@ construct_widgets (GtkPrinterOptionWidget *widget)
   
   deconstruct_widgets (widget);
   
-  gtk_widget_set_sensitive (widget, TRUE);
+  gtk_widget_set_sensitive (GTK_WIDGET (widget), TRUE);
 
   if (source == NULL)
     {
       priv->combo = combo_box_new ();
       combo_box_append (priv->combo,_("Not available"), "None");
       gtk_combo_box_set_active (GTK_COMBO_BOX (priv->combo), 0);
-      gtk_widget_set_sensitive (widget, FALSE);
+      gtk_widget_set_sensitive (GTK_WIDGET (widget), FALSE);
       gtk_widget_show (priv->combo);
       gtk_box_pack_start (GTK_BOX (widget), priv->combo, TRUE, TRUE, 0);
     }



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