gtk-demo: Improve consistency

Make the paintable emblems demo follow the same
pattern we use for other demos.
This commit is contained in:
Matthias Clasen 2020-11-09 19:52:28 -05:00
parent 6fa2936956
commit 7d49f1e250

View File

@ -153,7 +153,7 @@ do_paintable_emblem (GtkWidget *do_widget)
window = gtk_window_new (); window = gtk_window_new ();
gtk_window_set_display (GTK_WINDOW (window), gtk_window_set_display (GTK_WINDOW (window),
gtk_widget_get_display (do_widget)); gtk_widget_get_display (do_widget));
gtk_window_set_title (GTK_WINDOW (window), "Emblems"); gtk_window_set_title (GTK_WINDOW (window), "PaintableEmblems");
gtk_window_set_default_size (GTK_WINDOW (window), 300, 200); gtk_window_set_default_size (GTK_WINDOW (window), 300, 200);
g_object_add_weak_pointer (G_OBJECT (window), (gpointer *)&window); g_object_add_weak_pointer (G_OBJECT (window), (gpointer *)&window);