[gtk/wip/matthiasc/popup4: 4/57] window: Implement GtkRoot::check_resize
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup4: 4/57] window: Implement GtkRoot::check_resize
- Date: Fri, 19 Apr 2019 19:18:31 +0000 (UTC)
commit 184aa01235175eb23c193703b8d1fc4d789b1cb9
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Mar 17 00:37:46 2019 -0400
window: Implement GtkRoot::check_resize
Hook up the existing window configure machinery
to the new idle sizer.
gtk/gtkwindow.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 5babfe6b12..90ffb995d6 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -2387,12 +2387,19 @@ gtk_window_root_get_surface_transform (GtkRoot *root,
*y = margin.top + border.top + padding.top;
}
+static void
+gtk_window_root_check_resize (GtkRoot *root)
+{
+ gtk_window_check_resize (GTK_WINDOW (root));
+}
+
static void
gtk_window_root_interface_init (GtkRootInterface *iface)
{
iface->get_display = gtk_window_root_get_display;
iface->get_renderer = gtk_window_root_get_renderer;
iface->get_surface_transform = gtk_window_root_get_surface_transform;
+ iface->check_resize = gtk_window_root_check_resize;
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]