From a6aeef4928c66eac01019067767ce8483885ef7e Mon Sep 17 00:00:00 2001 From: infirit Date: Thu, 27 Nov 2014 18:02:28 +0100 Subject: charpick: Re-add lost GTK_DIALOG_DESTROY_WITH_PARENT --- charpick/properties.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'charpick') diff --git a/charpick/properties.c b/charpick/properties.c index 057a3080..9975e957 100644 --- a/charpick/properties.c +++ b/charpick/properties.c @@ -74,6 +74,9 @@ add_edit_dialog_create (charpick_data *curr_data, gchar *string, gchar *title) GtkWidget *label; dialog = gtk_dialog_new_with_buttons (_(title), GTK_WINDOW (curr_data->propwindow), +#if !GTK_CHECK_VERSION (3, 0, 0) + GTK_DIALOG_DESTROY_WITH_PARENT, +#endif _("_Cancel"), GTK_RESPONSE_CANCEL, _("_OK"), GTK_RESPONSE_OK, NULL); -- cgit v1.2.1