Make the dialog a child of the color filters dialog, not the top-level

window.

svn path=/trunk/; revision=49283
This commit is contained in:
Guy Harris 2013-05-14 01:29:23 +00:00
parent afb44c61ec
commit 679ee2e9af
1 changed files with 1 additions and 1 deletions

View File

@ -983,7 +983,7 @@ color_clear_cb(GtkWidget *widget, gpointer data _U_) {
gint response;
/* ask user, if he/she is really sure */
msg_dialog = gtk_message_dialog_new(GTK_WINDOW(top_level),
msg_dialog = gtk_message_dialog_new(GTK_WINDOW(gtk_widget_get_toplevel(widget)),
(GtkDialogFlags)(GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT),
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_NONE,