gtk-demo: Cosmetic changes to the dropdown demo

Match the window title and the sidebar.
This commit is contained in:
Matthias Clasen 2020-06-06 20:08:50 -04:00
parent 11f971d870
commit 180a5a1ad7

View File

@ -9,6 +9,7 @@
* display the selected item differently from the presentation
* in the popup.
*/
#include <gtk/gtk.h>
@ -242,7 +243,7 @@ do_dropdown (GtkWidget *do_widget)
window = gtk_window_new ();
gtk_window_set_display (GTK_WINDOW (window),
gtk_widget_get_display (do_widget));
gtk_window_set_title (GTK_WINDOW (window), "Drop Down");
gtk_window_set_title (GTK_WINDOW (window), "Drop Downs");
gtk_window_set_resizable (GTK_WINDOW (window), FALSE);
g_object_add_weak_pointer (G_OBJECT (window), (gpointer *)&window);