[gtk/wip/matthiasc/popup5: 48/187] Export gtk_widget_render privately
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 48/187] Export gtk_widget_render privately
- Date: Thu, 23 May 2019 10:57:34 +0000 (UTC)
commit 3bd81c4caa1ef4b2f21416434c48cb76f71d060c
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 19 03:41:08 2019 +0000
Export gtk_widget_render privately
We need it in gtkwindow.c and gtkpopover.c.
gtk/gtkwidget.c | 2 +-
gtk/gtkwidgetprivate.h | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 2bfdf1c196..e994e7db8d 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -13008,7 +13008,7 @@ gtk_widget_snapshot (GtkWidget *widget,
gtk_snapshot_append_node (snapshot, priv->render_node);
}
-static void
+void
gtk_widget_render (GtkWidget *widget,
GdkSurface *surface,
const cairo_region_t *region)
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index 34e44241c2..bf4b22b2f1 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -223,6 +223,9 @@ void gtk_widget_ensure_resize (GtkWidget *widget);
void gtk_widget_ensure_allocate (GtkWidget *widget);
void _gtk_widget_scale_changed (GtkWidget *widget);
+void gtk_widget_render (GtkWidget *widget,
+ GdkSurface *surface,
+ const cairo_region_t *region);
void _gtk_widget_add_sizegroup (GtkWidget *widget,
gpointer group);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]