[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 26/37: Drop the delete-event handler
noreply at xfce.org
noreply at xfce.org
Mon Mar 23 23:30:21 CET 2020
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-clipman-plugin.
commit 97c4b7c12a790a9d9d8364d57f86416000377160
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Sun Mar 22 00:12:58 2020 +0100
Drop the delete-event handler
The delete-event is anyway handled in the response callback
(GTK_RESPONSE_DELETE_EVENT).
---
panel-plugin/xfce4-clipman-history.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/panel-plugin/xfce4-clipman-history.c b/panel-plugin/xfce4-clipman-history.c
index e0d763e..1a1b7a5 100644
--- a/panel-plugin/xfce4-clipman-history.c
+++ b/panel-plugin/xfce4-clipman-history.c
@@ -320,16 +320,6 @@ clipman_history_dialog_response (GtkWidget *dialog,
clipman_history_dialog_finalize (plugin, dialog);
}
-gboolean
-clipman_history_dialog_delete_event (GtkWidget *widget,
- GdkEvent *event,
- MyPlugin *plugin)
-{
- clipman_history_dialog_finalize (plugin, widget);
-
- return TRUE;
-}
-
GtkWidget *
clipman_history_dialog_init (MyPlugin *plugin)
{
@@ -376,7 +366,6 @@ clipman_history_dialog_init (MyPlugin *plugin)
gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), box);
gtk_widget_show_all (box);
- g_signal_connect (G_OBJECT (dialog), "delete-event", G_CALLBACK (clipman_history_dialog_delete_event), plugin);
g_signal_connect (G_OBJECT (dialog), "response", G_CALLBACK (clipman_history_dialog_response), plugin);
return dialog;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list