diff options
author | Benjamin Otte <otte@redhat.com> | 2017-12-02 14:38:57 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-12-03 05:46:49 +0100 |
commit | 18bf0eb61a00e05e7db0975811650786b595dff2 (patch) | |
tree | 9499b892368288bb636fc9fe3db03d90c0279638 /gdk/gdkclipboard.h | |
parent | a34836f35bc619aea82ccc50ee019a0ec55dc1dc (diff) | |
download | gtk+-18bf0eb61a00e05e7db0975811650786b595dff2.tar.gz |
clipboard: Change image convenience APIs
Don't use pixbufs anymore, use textures.
Diffstat (limited to 'gdk/gdkclipboard.h')
-rw-r--r-- | gdk/gdkclipboard.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdk/gdkclipboard.h b/gdk/gdkclipboard.h index 87f873aa2a..02b13b01c8 100644 --- a/gdk/gdkclipboard.h +++ b/gdk/gdkclipboard.h @@ -25,7 +25,7 @@ #include <gdk/gdkversionmacros.h> #include <gdk/gdktypes.h> -#include <gdk-pixbuf/gdk-pixbuf.h> +#include <gio/gio.h> G_BEGIN_DECLS @@ -81,12 +81,12 @@ const GValue * gdk_clipboard_read_value_finish (GdkClipboard * GAsyncResult *res, GError **error); GDK_AVAILABLE_IN_3_94 -void gdk_clipboard_read_pixbuf_async (GdkClipboard *clipboard, +void gdk_clipboard_read_texture_async(GdkClipboard *clipboard, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); GDK_AVAILABLE_IN_3_94 -GdkPixbuf * gdk_clipboard_read_pixbuf_finish(GdkClipboard *clipboard, +GdkTexture * gdk_clipboard_read_texture_finish (GdkClipboard *clipboard, GAsyncResult *res, GError **error); GDK_AVAILABLE_IN_3_94 @@ -106,8 +106,8 @@ GDK_AVAILABLE_IN_3_94 void gdk_clipboard_set_text (GdkClipboard *clipboard, const char *text); GDK_AVAILABLE_IN_3_94 -void gdk_clipboard_set_pixbuf (GdkClipboard *clipboard, - GdkPixbuf *pixbuf); +void gdk_clipboard_set_texture (GdkClipboard *clipboard, + GdkTexture *texture); G_END_DECLS |