[gtk/bilelmoussaoui/g-i] g-i: Add nullable annotations to EventControllerKey::im-context
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/bilelmoussaoui/g-i] g-i: Add nullable annotations to EventControllerKey::im-context
- Date: Fri, 11 Feb 2022 12:00:05 +0000 (UTC)
commit 3b383569a436bded360c1b5943c762e150b8ba04
Author: Bilal Elmoussaoui <belmouss redhat com>
Date: Fri Feb 11 12:59:55 2022 +0100
g-i: Add nullable annotations to EventControllerKey::im-context
Fixes https://github.com/gtk-rs/gtk4-rs/issues/874
gtk/gtkeventcontrollerkey.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkeventcontrollerkey.c b/gtk/gtkeventcontrollerkey.c
index bf5f8f5dcb..49a149668b 100644
--- a/gtk/gtkeventcontrollerkey.c
+++ b/gtk/gtkeventcontrollerkey.c
@@ -293,7 +293,7 @@ gtk_event_controller_key_new (void)
/**
* gtk_event_controller_key_set_im_context:
* @controller: a `GtkEventControllerKey`
- * @im_context: a `GtkIMContext`
+ * @im_context: (nullable): a `GtkIMContext`
*
* Sets the input method context of the key @controller.
*/
@@ -316,7 +316,7 @@ gtk_event_controller_key_set_im_context (GtkEventControllerKey *controller,
*
* Gets the input method context of the key @controller.
*
- * Returns: (transfer none): the `GtkIMContext`
+ * Returns: (transfer none) (nullable): the `GtkIMContext`
**/
GtkIMContext *
gtk_event_controller_key_get_im_context (GtkEventControllerKey *controller)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]