mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-31 16:01:11 +00:00
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
This commit is contained in:
parent
b2cbe7ba79
commit
8b06900362
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user