[gtk/event-types: 10/12] Fix annotation for gtk_show_uri_full()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/event-types: 10/12] Fix annotation for gtk_show_uri_full()
- Date: Thu, 16 Apr 2020 18:40:51 +0000 (UTC)
commit 5abb6f2a618c42f848af4fcf957cc4e917b54186
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Apr 16 19:06:04 2020 +0100
Fix annotation for gtk_show_uri_full()
The callback is now an asynchronous closure.
gtk/gtkshow.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkshow.c b/gtk/gtkshow.c
index 2163b120a1..066e9ccb55 100644
--- a/gtk/gtkshow.c
+++ b/gtk/gtkshow.c
@@ -81,13 +81,12 @@ window_handle_exported (GtkWindow *window,
/**
* gtk_show_uri_full:
- * @parent: (allow-none): parent window
+ * @parent: (nullable): parent window
* @uri: the uri to show
* @timestamp: timestamp from the event that triggered this call, or %GDK_CURRENT_TIME
- * @cancellable: (allow-none): a #GCancellable to cancel the launch
- * @callback (allow-none): a callback to call when the action is complete
- * @user_data: data to pass to @callback
- * @destroy: destroy notify for @user_data
+ * @cancellable: (nullable): a #GCancellable to cancel the launch
+ * @callback (scope async): a callback to call when the action is complete
+ * @user_data: (closure callback): data to pass to @callback
*
* This function launches the default application for showing
* a given uri.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]