[gtk/wip/baedert/for-master] widget-factory: Use proper setter to set has-arrow
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master] widget-factory: Use proper setter to set has-arrow
- Date: Fri, 30 Aug 2019 05:49:29 +0000 (UTC)
commit 8a85ae52f30fc52437e2bf581d7fabe454120e5a
Author: Timm Bäder <mail baedert org>
Date: Fri Aug 30 06:18:45 2019 +0200
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]