mirror of https://github.com/GNOME/gimp.git
app: use GTK_RESPONSE_CLOSE in image-properties-dialog
so the dialog header bar omits the second close button.
This commit is contained in:
parent
792264ba6a
commit
a26ade92a0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue