[gtk/wip/matthiasc/popup5: 90/234] Export gtk_widget_render privately
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 90/234] Export gtk_widget_render privately
- Date: Mon, 27 May 2019 13:29:42 +0000 (UTC)
commit 70496db7f5dbb9ab69d2077ed56fe3518c1726ec
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 | 3 +--
gtk/gtkwidgetprivate.h | 3 +++
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 2bfdf1c196..0bdbf2ed8e 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -11331,7 +11331,6 @@ gtk_widget_set_surface (GtkWidget *widget,
}
}
-static void gtk_widget_render (GtkWidget *, GdkSurface *, const cairo_region_t *);
static gboolean
surface_expose (GdkSurface *surface,
cairo_region_t *region,
@@ -13008,7 +13007,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]