talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit f793a3ae68b75afdc9c866480e3e45dc92b567e2
parent c310c6b9412613d7751b55f681f1748a22c42da3
Author: Holger Berndt <hb@claws-mail.org>
Date:   Sun, 15 Mar 2015 20:55:59 +0100

Notification plugin: Remove spurious warning

Diffstat:
Msrc/plugins/notification/gtkhotkey/gtk-hotkey-x11-listener.c | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/plugins/notification/gtkhotkey/gtk-hotkey-x11-listener.c b/src/plugins/notification/gtkhotkey/gtk-hotkey-x11-listener.c @@ -134,10 +134,7 @@ gtk_hotkey_x11_listener_real_unbind_hotkey (GtkHotkeyListener *base, G_SIGNAL_MATCH_DATA | G_SIGNAL_MATCH_FUNC, 0, 0, NULL, gtk_hotkey_info_activated, hotkey); - if (handler == 0) { - g_warning ("Failed to disconnect signal handler for hotkey '%s'", - gtk_hotkey_info_get_key_id (hotkey)); - } else { + if (handler != 0) { g_signal_handler_disconnect (self, handler); }