[gtk/wip/matthiasc/popup4: 120/140] popover: Implement buds check-resize



commit a176816343ac2430b2f9467b62a93f23b91c9eac
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Apr 27 19:14:43 2019 +0000

    popover: Implement buds check-resize

 gtk/gtkpopover.c | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 20443e5a8e..7364610d01 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -285,6 +285,12 @@ gtk_popover_check_resize (GtkPopover *popover)
     gtk_popover_move_resize (popover);
 }
 
+static void
+gtk_popover_bud_check_resize (GtkBud *bud)
+{
+  gtk_popover_check_resize (GTK_POPOVER (bud));
+}
+
 static void
 ensure_state_flag_backdrop (GtkWidget *widget)
 {
@@ -881,6 +887,7 @@ gtk_popover_bud_interface_init (GtkBudInterface *iface)
 {
   iface->get_renderer = gtk_popover_bud_get_renderer;
   iface->get_surface_transform = gtk_popover_bud_get_surface_transform;
+  iface->check_resize = gtk_popover_bud_check_resize;
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]