[gtk] gdk: Fix some g-i annotations warnings



commit b80942ec882aa5f822ef35410824cc68292e61b2
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Jun 27 09:00:17 2018 +0200

    gdk: Fix some g-i annotations warnings

 gdk/gdkdisplay.c | 2 +-
 gdk/gdkdrop.h    | 4 ++--
 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]