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:
parent
c9a3b42734
commit
02ea88bba2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user