forked from AuroraMiddleware/gtk
docs: Fixup for an uninitialized variable
This commit is contained in:
parent
17c21513a8
commit
4735d38e31
@ -1122,7 +1122,7 @@ create_headerbar (void)
|
|||||||
GtkWidget *button;
|
GtkWidget *button;
|
||||||
|
|
||||||
window = gtk_window_new ();
|
window = gtk_window_new ();
|
||||||
gtk_window_set_title (GTK_WINDOW (bar), "Header Bar");
|
gtk_window_set_title (GTK_WINDOW (window), "Header Bar");
|
||||||
view = gtk_text_view_new ();
|
view = gtk_text_view_new ();
|
||||||
gtk_widget_show (view);
|
gtk_widget_show (view);
|
||||||
gtk_widget_set_size_request (window, 220, 150);
|
gtk_widget_set_size_request (window, 220, 150);
|
||||||
|
Loading…
Reference in New Issue
Block a user