summaryrefslogtreecommitdiff
path: root/gtk/gtksettings.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-06-11 11:43:35 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2015-06-11 11:45:03 +0100
commit8b069003622932891830eba528533681d033d117 (patch)
tree701cabf6c4c23d73eade8982878fb982d8870be3 /gtk/gtksettings.c
parentb2cbe7ba79da5137e9c93b652b4b30894e4c9bc6 (diff)
downloadgtk+-8b069003622932891830eba528533681d033d117.tar.gz
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
Diffstat (limited to 'gtk/gtksettings.c')
-rw-r--r--gtk/gtksettings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 11f24e3b2e..e0464555ea 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -924,7 +924,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.