[gtk/gtk-3-24: 2/4] Remove unneeded unblock
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24: 2/4] Remove unneeded unblock
- Date: Wed, 17 Aug 2022 11:17:29 +0000 (UTC)
commit 02ea88bba2169e4a6d3bcc2dda25133a0ec5f45b
Author: Sergio Costas <rastersoft gmail com>
Date: Mon Aug 15 15:35:06 2022 +0200
Remove unneeded unblock
When a signal handler is disconnected, it doesn't matter if it
was blocked or not, so there's no need to unlock it before
disconnection.
gtk/gtkpopover.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 312d9334ff..4182c5fd58 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -2127,7 +2127,6 @@ gtk_popover_update_relative_to (GtkPopover *popover,
{
if (priv->grab_notify_blocked)
{
- g_signal_handler_unblock (priv->widget, priv->grab_notify_id);
priv->grab_notify_blocked = FALSE;
had_grab_notify_blocked = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]