summaryrefslogtreecommitdiff
path: root/gdk/gdkdropprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-04-02 11:38:52 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-04-02 15:11:06 +0000
commit64fd5158bf71af386e3d3d5ec8970223b45a523c (patch)
treef26c2986fd62405f4a9cd7b20b66ae9287db2b21 /gdk/gdkdropprivate.h
parent8e4e4401c5064fa7e794a5a68f71df747bdabc47 (diff)
downloadgtk+-64fd5158bf71af386e3d3d5ec8970223b45a523c.tar.gz
gdk: Change some async dnd api
The pattern we generally follow is to put the async result right after the source object, in finish functions. Do this for gdk_drop_read_finish.
Diffstat (limited to 'gdk/gdkdropprivate.h')
-rw-r--r--gdk/gdkdropprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkdropprivate.h b/gdk/gdkdropprivate.h
index 86a1fdbf8a..b20eee2ae7 100644
--- a/gdk/gdkdropprivate.h
+++ b/gdk/gdkdropprivate.h
@@ -51,8 +51,8 @@ struct _GdkDropClass {
GAsyncReadyCallback callback,
gpointer user_data);
GInputStream * (* read_finish) (GdkDrop *self,
- const char **out_mime_type,
GAsyncResult *result,
+ const char **out_mime_type,
GError **error);
};