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.
This commit is contained in:
Sergio Costas 2022-08-15 15:35:06 +02:00
parent c9a3b42734
commit 02ea88bba2

View File

@ -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;
}