[gtk/bilelmoussaoui/g-i-2: 5/5] gtk: mark Picture's constructors as not nullable
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/bilelmoussaoui/g-i-2: 5/5] gtk: mark Picture's constructors as not nullable
- Date: Sat, 1 Jan 2022 20:36:54 +0000 (UTC)
commit 33cb304c8f883c58f76a4dacc78a5a6f29700ba7
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Sat Jan 1 21:36:11 2022 +0100
gtk: mark Picture's constructors as not nullable
Similar reasons as for GtkImage
gtk/gtkpicture.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkpicture.c b/gtk/gtkpicture.c
index cf7cd61f83..2e9c87abcd 100644
--- a/gtk/gtkpicture.c
+++ b/gtk/gtkpicture.c
@@ -411,7 +411,7 @@ gtk_picture_new (void)
/**
* gtk_picture_new_for_paintable:
- * @paintable: (nullable): a `GdkPaintable`
+ * @paintable: a `GdkPaintable`
*
* Creates a new `GtkPicture` displaying @paintable.
*
@@ -432,7 +432,7 @@ gtk_picture_new_for_paintable (GdkPaintable *paintable)
/**
* gtk_picture_new_for_pixbuf:
- * @pixbuf: (nullable): a `GdkPixbuf`
+ * @pixbuf: a `GdkPixbuf`
*
* Creates a new `GtkPicture` displaying @pixbuf.
*
@@ -466,7 +466,7 @@ gtk_picture_new_for_pixbuf (GdkPixbuf *pixbuf)
/**
* gtk_picture_new_for_file:
- * @file: (nullable): a `GFile`
+ * @file: a `GFile`
*
* Creates a new `GtkPicture` displaying the given @file.
*
@@ -491,7 +491,7 @@ gtk_picture_new_for_file (GFile *file)
/**
* gtk_picture_new_for_filename:
- * @filename: (type filename) (nullable): a filename
+ * @filename: (type filename): a filename
*
* Creates a new `GtkPicture` displaying the file @filename.
*
@@ -521,7 +521,7 @@ gtk_picture_new_for_filename (const char *filename)
/**
* gtk_picture_new_for_resource:
- * @resource_path: (nullable): resource path to play back
+ * @resource_path: resource path to play back
*
* Creates a new `GtkPicture` displaying the resource at @resource_path.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]