summaryrefslogtreecommitdiff
path: root/gtk/gtkpopover.c
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2020-12-03 23:20:31 +0100
committerJonas Ådahl <jadahl@gmail.com>2020-12-07 20:37:29 +0100
commit5eee1dfcd1803d359de5039243ed6b9e2d98d94e (patch)
tree53f35f1764a326048417c125700d47e54604e31e /gtk/gtkpopover.c
parent19d2a4ab947f807b68a5d2cda5c68b6bfa0a5d17 (diff)
downloadgtk+-5eee1dfcd1803d359de5039243ed6b9e2d98d94e.tar.gz
gdk/popup: Remove the popup-layout-changed signal
It was replaced with GdkSurface::layout.
Diffstat (limited to 'gtk/gtkpopover.c')
-rw-r--r--gtk/gtkpopover.c12
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);