[gtk/docs-fixes: 2/5] Add missing ownership transfer annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/docs-fixes: 2/5] Add missing ownership transfer annotations
- Date: Wed, 26 Feb 2020 10:33:25 +0000 (UTC)
commit d4dcb43aa92d0516876d09fefa6bc8bb8e0a9847
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Feb 26 10:23:01 2020 +0000
Add missing ownership transfer annotations
gdk/gdkapplaunchcontext.c | 2 +-
gdk/gdkevents.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkapplaunchcontext.c b/gdk/gdkapplaunchcontext.c
index 7a7e3956ae..b59e4f4adc 100644
--- a/gdk/gdkapplaunchcontext.c
+++ b/gdk/gdkapplaunchcontext.c
@@ -179,7 +179,7 @@ gdk_app_launch_context_get_display_name (GAppLaunchContext *context,
*
* Gets the #GdkDispolat that @context is for.
*
- * Returns: the display of @context
+ * Returns: (transfer none): the display of @context
*/
GdkDisplay *
gdk_app_launch_context_get_display (GdkAppLaunchContext *context)
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index b316921c3a..097198ef29 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -2101,7 +2101,7 @@ gdk_drag_event_get_drop (GdkEvent *event)
*
* Extracts the grab surface from a grab broken event.
*
- * Returns: the grab surface of @event
+ * Returns: (transfer none): the grab surface of @event
**/
GdkSurface *
gdk_grab_broken_event_get_grab_surface (GdkEvent *event)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]