Commit b1c28151 authored by Matthias Clasen's avatar Matthias Clasen

gtk-demo: fix the colorsel example

It is necessary to hide the dialog on "response", else it won't
go away.
parent d5241751
......@@ -40,6 +40,8 @@ response_cb (GtkDialog *dialog,
gtk_color_chooser_get_rgba (GTK_COLOR_CHOOSER (dialog), &color);
gtk_widget_override_background_color (da, 0, &color);
}
gtk_widget_hide (GTK_WIDGET (dialog));
}
static void
......
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