widget: Make gtk_widget_render() static

This commit is contained in:
Benjamin Otte 2019-05-18 16:11:19 +02:00
parent 3e5f5d3959
commit fe592cd414
2 changed files with 3 additions and 7 deletions

View File

@ -11334,6 +11334,7 @@ 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,
@ -13010,9 +13011,9 @@ gtk_widget_snapshot (GtkWidget *widget,
gtk_snapshot_append_node (snapshot, priv->render_node);
}
void
static void
gtk_widget_render (GtkWidget *widget,
GdkSurface *surface,
GdkSurface *surface,
const cairo_region_t *region)
{
GtkSnapshot *snapshot;

View File

@ -314,11 +314,6 @@ gboolean gtk_widget_query_tooltip (GtkWidget *widget,
gboolean keyboard_mode,
GtkTooltip *tooltip);
void gtk_widget_render (GtkWidget *widget,
GdkSurface *surface,
const cairo_region_t *region);
void gtk_widget_snapshot (GtkWidget *widget,
GtkSnapshot *snapshot);
void gtk_widget_adjust_size_request (GtkWidget *widget,