[gtk/wip/matthiasc/popup5: 2/3] Export gtk_widget_render privately
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 2/3] Export gtk_widget_render privately
- Date: Sun, 19 May 2019 04:51:22 +0000 (UTC)
commit 6fc32109e3ba43a206aa92ba609ad1a501972823
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 f20968f409..87e63f622a 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -12803,7 +12803,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 fde48f3143..3bd7277357 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -221,6 +221,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]