forked from AuroraMiddleware/gtk
docs: fix headerbar screenshot
This commit is contained in:
parent
af4b26f581
commit
abe9ce45f3
Binary file not shown.
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 5.4 KiB |
@ -1214,8 +1214,8 @@ create_headerbar (void)
|
||||
gtk_window_set_titlebar (GTK_WINDOW (window), bar);
|
||||
button = gtk_button_new ();
|
||||
gtk_container_add (GTK_CONTAINER (button), gtk_image_new_from_icon_name ("bookmark-new-symbolic", GTK_ICON_SIZE_BUTTON));
|
||||
gtk_widget_show_all (button);
|
||||
gtk_header_bar_pack_end (GTK_HEADER_BAR (bar), button);
|
||||
gtk_widget_show_all (bar);
|
||||
|
||||
return new_widget_info ("headerbar", window, ASIS);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user