summaryrefslogtreecommitdiff
path: root/gtk/gtkscrollbar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-03-18 21:55:08 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-03-25 23:14:44 -0400
commitca1d4322a28d45ef9d15e399f3913c190e3c0722 (patch)
tree0fc621b891c48627dac5b8bf95d460ed195ad604 /gtk/gtkscrollbar.c
parentc94ec4a2040d5a1436a91675193b93491b0aac3c (diff)
downloadgtk+-ca1d4322a28d45ef9d15e399f3913c190e3c0722.tar.gz
scrollbar: Remove :popup-menu forwarding
This signal is going away.
Diffstat (limited to 'gtk/gtkscrollbar.c')
-rw-r--r--gtk/gtkscrollbar.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c
index 432000ae5f..f97d3d7647 100644
--- a/gtk/gtkscrollbar.c
+++ b/gtk/gtkscrollbar.c
@@ -209,16 +209,6 @@ gtk_scrollbar_class_init (GtkScrollbarClass *class)
gtk_widget_class_set_layout_manager_type (widget_class, GTK_TYPE_BOX_LAYOUT);
}
-static gboolean
-emit_popup_menu (GtkWidget *self)
-{
- gboolean handled;
-
- g_signal_emit_by_name (self, "popup-menu", &handled);
-
- return handled;
-}
-
static void
gtk_scrollbar_init (GtkScrollbar *self)
{
@@ -227,7 +217,6 @@ gtk_scrollbar_init (GtkScrollbar *self)
priv->orientation = GTK_ORIENTATION_HORIZONTAL;
priv->range = g_object_new (GTK_TYPE_RANGE, NULL);
- g_signal_connect_swapped (priv->range, "popup-menu", G_CALLBACK (emit_popup_menu), self);
gtk_widget_set_hexpand (priv->range, TRUE);
gtk_widget_set_vexpand (priv->range, TRUE);
gtk_widget_set_parent (priv->range, GTK_WIDGET (self));