diff options
author | Ernestas Kulik <ernestask@gnome.org> | 2018-05-21 13:54:29 +0300 |
---|---|---|
committer | Ernestas Kulik <ernestask@gnome.org> | 2018-05-28 13:13:56 +0300 |
commit | c8998da860a2e05f2173fab2ef86cf4e41fb6e2b (patch) | |
tree | 1dc1753685caf0c92288f2d2528a24ca1f6b5a23 | |
parent | a781e5aee32cf9fa20c27b30e54b920f931d60a3 (diff) | |
download | nautilus-c8998da860a2e05f2173fab2ef86cf4e41fb6e2b.tar.gz |
mime-actions: Stop handling delete-event
Docs say that a response signal is emitted automagically when such an
event is received.
-rw-r--r-- | src/nautilus-mime-actions.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c index 55b5df82f..1d00fa1a9 100644 --- a/src/nautilus-mime-actions.c +++ b/src/nautilus-mime-actions.c @@ -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); } |