summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-06-27 09:00:17 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2018-06-27 09:00:17 +0200
commitb80942ec882aa5f822ef35410824cc68292e61b2 (patch)
tree43413f8c83b3c73c8faf8b3d4e2ec43e86d7a34e
parent165dab826540cf96aedc6f384b77b3a9ace56741 (diff)
downloadgtk+-b80942ec882aa5f822ef35410824cc68292e61b2.tar.gz
gdk: Fix some g-i annotations warnings
-rw-r--r--gdk/gdkdisplay.c2
-rw-r--r--gdk/gdkdrop.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 3375cb3ebd..ec8df56bd9 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -1282,7 +1282,7 @@ gdk_display_notify_startup_complete (GdkDisplay *display,
/**
* gdk_display_get_startup_notification_id:
- * @display: (type GdkX11Display): a #GdkDisplay
+ * @display: a #GdkDisplay
*
* Gets the startup notification ID for a Wayland display, or %NULL
* if no ID has been defined.
diff --git a/gdk/gdkdrop.h b/gdk/gdkdrop.h
index 43daf94b1d..0965df8019 100644
--- a/gdk/gdkdrop.h
+++ b/gdk/gdkdrop.h
@@ -83,12 +83,12 @@ const GValue * gdk_drop_read_value_finish (GdkDrop
GAsyncResult *result,
GError **error);
GDK_AVAILABLE_IN_ALL
-void gdk_drop_read_text_async (GdkDrop *drop,
+void gdk_drop_read_text_async (GdkDrop *self,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GDK_AVAILABLE_IN_ALL
-char * gdk_drop_read_text_finish (GdkDrop *drop,
+char * gdk_drop_read_text_finish (GdkDrop *self,
GAsyncResult *result,
GError **error);