[gtk+/gtk-3-16] settings: Fix the type annotation for color-hash
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-16] settings: Fix the type annotation for color-hash
- Date: Tue, 7 Jul 2015 14:32:31 +0000 (UTC)
commit 39cb51bb07660cf43e46f9d026bcd8eda818d95c
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Jun 11 11:43:35 2015 +0100
settings: Fix the type annotation for color-hash
The (element-type) annotation cannot be used with properties that return
container types like GHashTable; we need to use the (type) annotation.
https://bugzilla.gnome.org/show_bug.cgi?id=750489
gtk/gtksettings.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index cbafb27..5ab43de 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -920,7 +920,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
g_assert (result == PROP_ERROR_BELL);
/**
- * GtkSettings:color-hash: (element-type utf8 Gdk.Color)
+ * GtkSettings:color-hash: (type GLib.HashTable(utf8,Gdk.Color)) (transfer container)
*
* Holds a hash table representation of the #GtkSettings:gtk-color-scheme
* setting, mapping color names to #GdkColors.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]