app: use GTK_RESPONSE_CLOSE in image-properties-dialog

so the dialog header bar omits the second close button.
This commit is contained in:
Michael Natterer 2019-05-31 17:44:03 +02:00
parent 792264ba6a
commit a26ade92a0
1 changed files with 3 additions and 1 deletions

View File

@ -65,10 +65,12 @@ image_properties_dialog_new (GimpImage *image,
gimp_standard_help_func,
GIMP_HELP_IMAGE_PROPERTIES,
_("_Close"), GTK_RESPONSE_OK,
_("_Close"), GTK_RESPONSE_CLOSE,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE);
g_signal_connect (dialog, "response",
G_CALLBACK (gtk_widget_destroy),
NULL);