GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit d74ca9f0 authored by Bastien Nocera's avatar Bastien Nocera

popover: Emit ::closed once modality is cleared

Otherwise, calling gtk_widget_grab_focus() on a widget when the
popover send ::closed won't work.
parent f999ac68
......@@ -295,13 +295,13 @@ gtk_popover_unmap (GtkWidget *widget)
priv = GTK_POPOVER (widget)->priv;
priv->button_pressed = FALSE;
g_signal_emit (widget, signals[CLOSED], 0);
if (priv->modal)
gtk_popover_apply_modality (GTK_POPOVER (widget), FALSE);
gdk_window_hide (gtk_widget_get_window (widget));
GTK_WIDGET_CLASS (gtk_popover_parent_class)->unmap (widget);
g_signal_emit (widget, signals[CLOSED], 0);
static void
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment