background: Make it possible to use gtkparasite with the test
The dialog has to be non-modal for us to be able to inspect it with gtkparasite.
This commit is contained in:
parent
1445700c62
commit
176e8c3057
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ int main (int argc, char **argv)
|
||||||
gtk_init (&argc, &argv);
|
gtk_init (&argc, &argv);
|
||||||
|
|
||||||
dialog = cc_background_chooser_dialog_new ();
|
dialog = cc_background_chooser_dialog_new ();
|
||||||
|
gtk_window_set_modal (GTK_WINDOW (dialog), FALSE);
|
||||||
g_signal_connect (G_OBJECT (dialog), "response",
|
g_signal_connect (G_OBJECT (dialog), "response",
|
||||||
G_CALLBACK (on_dialog_response), NULL);
|
G_CALLBACK (on_dialog_response), NULL);
|
||||||
gtk_widget_show_all (dialog);
|
gtk_widget_show_all (dialog);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue