summaryrefslogtreecommitdiff
path: root/charpick/properties.c
diff options
context:
space:
mode:
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);