forked from AuroraMiddleware/gtk
gtk-demo: Set default size for drawingarea demo
Set a default size, so we don't ellipsize the window title when the window is presented.
This commit is contained in:
parent
b81463e7d3
commit
6fa2936956
@ -311,6 +311,7 @@ do_drawingarea (GtkWidget *do_widget)
|
||||
gtk_window_set_display (GTK_WINDOW (window),
|
||||
gtk_widget_get_display (do_widget));
|
||||
gtk_window_set_title (GTK_WINDOW (window), "Drawing Area");
|
||||
gtk_window_set_default_size (GTK_WINDOW (window), 250, -1);
|
||||
|
||||
g_signal_connect (window, "destroy",
|
||||
G_CALLBACK (close_window), NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user