[gtk/wip/matthiasc/popup4: 119/140] window: Implement buds check-resize
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup4: 119/140] window: Implement buds check-resize
- Date: Mon, 29 Apr 2019 02:51:42 +0000 (UTC)
commit de4d89c949ab3c77dc75b40b4745f4848dba9265
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Apr 27 19:14:29 2019 +0000
window: Implement buds check-resize
gtk/gtkwindow.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 03090e7beb..5b16332bb7 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -2491,11 +2491,18 @@ gtk_window_bud_get_surface_transform (GtkBud *bud,
*y = margin.top + border.top + padding.top;
}
+static void
+gtk_window_bud_check_resize (GtkBud *bud)
+{
+ gtk_window_check_resize (GTK_WINDOW (bud));
+}
+
static void
gtk_window_bud_interface_init (GtkBudInterface *iface)
{
iface->get_renderer = gtk_window_bud_get_renderer;
iface->get_surface_transform = gtk_window_bud_get_surface_transform;
+ iface->check_resize = gtk_window_bud_check_resize;
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]