summaryrefslogtreecommitdiff
path: root/charpick/properties.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-27 18:02:28 +0100
committerinfirit <[email protected]>2014-11-27 18:02:28 +0100
commita6aeef4928c66eac01019067767ce8483885ef7e (patch)
tree481ebf477f9aed701680005f3a785855dd0e3ff3 /charpick/properties.c
parentd09966caa8d208a13a6b5aaf954202109d6e5d45 (diff)
downloadmate-applets-a6aeef4928c66eac01019067767ce8483885ef7e.tar.bz2
mate-applets-a6aeef4928c66eac01019067767ce8483885ef7e.tar.xz
charpick: Re-add lost GTK_DIALOG_DESTROY_WITH_PARENT
Diffstat (limited to 'charpick/properties.c')
-rw-r--r--charpick/properties.c3
1 files changed, 3 insertions, 0 deletions
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);