Export gtk_widget_render privately

We need it in gtkwindow.c and gtkpopover.c.
This commit is contained in:
Matthias Clasen 2019-05-19 03:41:08 +00:00
parent 096d28e60c
commit ff1150d87c
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -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);