mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-24 18:25:50 +00:00
mime-actions: Stop handling delete-event
Docs say that a response signal is emitted automagically when such an event is received.
This commit is contained in:
parent
a781e5aee3
commit
c8998da860
|
@ -1260,13 +1260,6 @@ application_unhandled_file_install (GtkDialog *dialog,
|
|||
}
|
||||
}
|
||||
|
||||
static gboolean
|
||||
delete_cb (GtkDialog *dialog)
|
||||
{
|
||||
gtk_dialog_response (dialog, GTK_RESPONSE_DELETE_EVENT);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
pk_proxy_appeared_cb (GObject *source,
|
||||
GAsyncResult *res,
|
||||
|
@ -1316,8 +1309,6 @@ pk_proxy_appeared_cb (GObject *source,
|
|||
g_signal_connect (dialog, "response",
|
||||
G_CALLBACK (application_unhandled_file_install),
|
||||
parameters_install);
|
||||
g_signal_connect (dialog, "delete-event",
|
||||
G_CALLBACK (delete_cb), NULL);
|
||||
gtk_widget_show_all (dialog);
|
||||
g_free (mime_type);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue