From f0075f2ad6bb9b062611ff30ba3c3727549de71c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 20 Apr 2024 20:11:57 -0400 Subject: [PATCH 1/2] docs: Improve a reference DConf is not what we use, it is actually GSettings. Fixes: #6635 --- gtk/gtksettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index e44f35d11a..1a6fba8489 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -73,7 +73,7 @@ * utilities that let the user change these settings. * * On Wayland, the settings are obtained either via a settings portal, - * or by reading desktop settings from DConf. + * or by reading desktop settings from [class@Gio.Settings]. * * On macOS, the settings are obtained from `NSUserDefaults`. * From 161aebe09ad5383b0a5c7a2b0544ec15e0b6d2ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 20 Apr 2024 17:35:18 +0300 Subject: [PATCH 2/2] Drop return value annotation of gtk_graphics_offload_new() A floating reference is returned, not a full reference. By having no annotation, like for all other widget constructors, the correct default is used again. --- gtk/gtkgraphicsoffload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkgraphicsoffload.c b/gtk/gtkgraphicsoffload.c index ca19828c5c..f50d268811 100644 --- a/gtk/gtkgraphicsoffload.c +++ b/gtk/gtkgraphicsoffload.c @@ -263,7 +263,7 @@ gtk_graphics_offload_class_init (GtkGraphicsOffloadClass *class) * * Creates a new GtkGraphicsOffload widget. * - * Returns: (transfer full): the new widget + * Returns: the new widget * * Since: 4.14 */