[gtk+/wip/baedert/gtkimageview: 13/15] gdk: Make gdk_cairo_surface_paint_pixbuf public
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gtkimageview: 13/15] gdk: Make gdk_cairo_surface_paint_pixbuf public
- Date: Sun, 5 Jul 2015 18:50:31 +0000 (UTC)
commit 3c9bced5f7c6c57220863c9f182907d63b9d9a29
Author: Timm Bäder <mail baedert org>
Date: Sun Jul 5 20:16:11 2015 +0200
gdk: Make gdk_cairo_surface_paint_pixbuf public
Maybe, maybe not.
gdk/gdkcairo.c | 2 +-
gdk/gdkcairo.h | 5 +++++
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c
index 633b391..867efcd 100644
--- a/gdk/gdkcairo.c
+++ b/gdk/gdkcairo.c
@@ -175,7 +175,7 @@ gdk_cairo_region (cairo_t *cr,
}
}
-static void
+void
gdk_cairo_surface_paint_pixbuf (cairo_surface_t *surface,
const GdkPixbuf *pixbuf)
{
diff --git a/gdk/gdkcairo.h b/gdk/gdkcairo.h
index 8d62e4f..5e5677a 100644
--- a/gdk/gdkcairo.h
+++ b/gdk/gdkcairo.h
@@ -81,6 +81,11 @@ void gdk_cairo_draw_from_gl (cairo_t *cr,
int width,
int height);
+GDK_AVAILABLE_IN_3_18
+void
+gdk_cairo_surface_paint_pixbuf (cairo_surface_t *surface,
+ const GdkPixbuf *pixbuf);
+
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]