Commit a66147dc authored by Matthias Clasen's avatar Matthias Clasen

gtk-demo: fix colorchooser example

A nested dialog on top of a modal dialog must itself be modal,
otherwise it doesn't get any input.
parent 90112724
......@@ -52,6 +52,7 @@ change_color_callback (GtkWidget *button,
GtkWidget *dialog;
dialog = gtk_color_chooser_dialog_new ("Changing color", GTK_WINDOW (window));
gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
gtk_color_chooser_set_rgba (GTK_COLOR_CHOOSER (dialog), &color);
g_signal_connect (dialog,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment