diff options
author | Christian Dywan <christian@twotoasts.de> | 2010-01-04 07:30:57 +0100 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2010-01-04 07:30:57 +0100 |
commit | ac26960e62346558737073ac516790005d7c64ad (patch) | |
tree | 33d374b105aabe566d1e4d3efdbc8650002c48e2 /gtk/gtkprinteroptionwidget.c | |
parent | 3a9633a9de67f0272e120c8e4540f27e4b52712f (diff) | |
download | gtk+-ac26960e62346558737073ac516790005d7c64ad.tar.gz |
Fix missing GTK_WIDGET cast on printer option widget in construct_widgets
Diffstat (limited to 'gtk/gtkprinteroptionwidget.c')
-rw-r--r-- | gtk/gtkprinteroptionwidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkprinteroptionwidget.c b/gtk/gtkprinteroptionwidget.c index 3039412c49..413b8281f1 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); } |