From c3f82534bdd175061c2fe69e8d0ac31e015b19f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Fri, 30 Aug 2019 06:18:45 +0200 Subject: [PATCH] widget-factory: Use proper setter to set has-arrow --- demos/widget-factory/widget-factory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c index 781f63f7cd..5be2f97dac 100644 --- a/demos/widget-factory/widget-factory.c +++ b/demos/widget-factory/widget-factory.c @@ -1649,7 +1649,7 @@ set_up_context_popover (GtkWidget *widget, GtkWidget *popover = gtk_popover_menu_new_from_model (widget, model); GtkGesture *gesture; - g_object_set (popover, "has-arrow", FALSE, NULL); + gtk_popover_set_has_arrow (GTK_POPOVER (popover), FALSE); gesture = gtk_gesture_click_new (); gtk_gesture_single_set_button (GTK_GESTURE_SINGLE (gesture), GDK_BUTTON_SECONDARY); g_signal_connect (gesture, "pressed", G_CALLBACK (clicked_cb), popover);