summaryrefslogtreecommitdiff
path: root/gtk/gtkinfobar.c
diff options
context:
space:
mode:
authorDaniel Boles <dboles@src.gnome.org>2017-08-12 21:07:22 +0100
committerDaniel Boles <dboles@src.gnome.org>2017-08-12 21:08:24 +0100
commita2768144f19abf9f2e717264d299f2eae7112b3b (patch)
treeb11d158c7dd6368417d603d4d3bb58c2a4da2d32 /gtk/gtkinfobar.c
parent854bfb916c3822a3eaac0672c85577577311aa61 (diff)
downloadgtk+-a2768144f19abf9f2e717264d299f2eae7112b3b.tar.gz
InfoBar: Fix wrong/uninit var use in code example
https://bugzilla.gnome.org/show_bug.cgi?id=786144
Diffstat (limited to 'gtk/gtkinfobar.c')
-rw-r--r--gtk/gtkinfobar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index 6fb798ae88..0ca11d9d37 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -81,7 +81,7 @@
* GtkInfoBar *bar;
*
* widget = gtk_info_bar_new ();
- * bar = GTK_INFO_BAR (bar);
+ * bar = GTK_INFO_BAR (widget);
*
* message_label = gtk_label_new ("");
* gtk_widget_show (message_label);