diff options
Diffstat (limited to 'gtk/gtkpopover.c')
-rw-r--r-- | gtk/gtkpopover.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c index 7fcfac9b66..21e7f2e716 100644 --- a/gtk/gtkpopover.c +++ b/gtk/gtkpopover.c @@ -767,16 +767,6 @@ surface_event (GdkSurface *surface, } static void -popup_layout_changed (GdkSurface *surface, - GtkWidget *widget) -{ - GtkPopover *popover = GTK_POPOVER (widget); - GtkPopoverPrivate *priv = gtk_popover_get_instance_private (popover); - - update_popover_layout (popover, gdk_popup_layout_ref (priv->layout)); -} - -static void gtk_popover_activate_default (GtkPopover *popover) { GtkPopoverPrivate *priv = gtk_popover_get_instance_private (popover); @@ -894,7 +884,6 @@ gtk_popover_realize (GtkWidget *widget) g_signal_connect_swapped (priv->surface, "notify::mapped", G_CALLBACK (surface_mapped_changed), widget); g_signal_connect (priv->surface, "render", G_CALLBACK (surface_render), widget); g_signal_connect (priv->surface, "event", G_CALLBACK (surface_event), widget); - g_signal_connect (priv->surface, "popup-layout-changed", G_CALLBACK (popup_layout_changed), widget); GTK_WIDGET_CLASS (gtk_popover_parent_class)->realize (widget); @@ -919,7 +908,6 @@ gtk_popover_unrealize (GtkWidget *widget) g_signal_handlers_disconnect_by_func (priv->surface, surface_mapped_changed, widget); g_signal_handlers_disconnect_by_func (priv->surface, surface_render, widget); g_signal_handlers_disconnect_by_func (priv->surface, surface_event, widget); - g_signal_handlers_disconnect_by_func (priv->surface, popup_layout_changed, widget); gdk_surface_set_widget (priv->surface, NULL); gdk_surface_destroy (priv->surface); g_clear_object (&priv->surface); |