summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-08-01 10:55:18 +0200
committerMatthias Clasen <mclasen@redhat.com>2013-08-01 10:55:49 +0200
commitc636b21aec3daffbbdc844d889cf4af92b0f5120 (patch)
treee1ca576126019fd0b85287bcd044cacd6d80d3ed
parent312699db670ce566247f630b192a83e8c0bb7bf1 (diff)
downloadgtk+-c636b21aec3daffbbdc844d889cf4af92b0f5120.tar.gz
Avoid a compiler warning
-rw-r--r--demos/gtk-demo/infobar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/infobar.c b/demos/gtk-demo/infobar.c
index 2239bbe9b4..402a40bf81 100644
--- a/demos/gtk-demo/infobar.c
+++ b/demos/gtk-demo/infobar.c
@@ -17,7 +17,7 @@ on_bar_response (GtkInfoBar *info_bar,
if (response_id == GTK_RESPONSE_CLOSE)
{
- gtk_widget_hide (info_bar);
+ gtk_widget_hide (GTK_WIDGET (info_bar));
return;
}