diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-12-21 21:05:22 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-12-21 21:05:22 +0000 |
commit | 2962480b2c662ffb744dc28c3710305e3219dca9 (patch) | |
tree | b2abc2c9e1bc7dd561d9f62406fd477ce2cac996 /gtk/gtksettings.c | |
parent | 95d8688bf36c4b21343444921b4d59df17bcd883 (diff) | |
download | gtk+-2962480b2c662ffb744dc28c3710305e3219dca9.tar.gz |
Update class_n_properties after installing color-hash, since other classes
2005-12-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksettings.c (gtk_settings_class_init): Update
class_n_properties after installing color-hash, since
other classes install settings, too.
* gtk/gtkctree.c:
* gtk/gtkclist.c: Fix some mistakes in the conversion
from mem chunks to slice allocator.
Diffstat (limited to 'gtk/gtksettings.c')
-rw-r--r-- | gtk/gtksettings.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index 1199c452e3..a0a10ef75a 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -211,7 +211,6 @@ gtk_settings_class_init (GtkSettingsClass *class) gobject_class->notify = gtk_settings_notify; quark_property_parser = g_quark_from_static_string ("gtk-rc-property-parser"); - result = settings_install_property_parser (class, g_param_spec_int ("gtk-double-click-time", P_("Double Click Time"), @@ -481,6 +480,7 @@ gtk_settings_class_init (GtkSettingsClass *class) g_assert (result == PROP_ENABLE_ANIMATIONS); + /** * GtkSettings:color-hash: * @@ -496,6 +496,9 @@ gtk_settings_class_init (GtkSettingsClass *class) P_("A hash table resentation of the color scheme."), G_TYPE_HASH_TABLE, GTK_PARAM_READABLE)); + + class_n_properties++; + } static void |