From: Xavier Claessens Date: Tue, 11 Nov 2008 15:25:58 +0000 (+0000) Subject: Add G_PARAM_STATIC_STRINGS to TpContactFactory properties X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=2361ab657ab433c9566f289c77e92ced7f468d86 Add G_PARAM_STATIC_STRINGS to TpContactFactory properties svn path=/trunk/; revision=1674 --- diff --git a/libempathy/empathy-tp-contact-factory.c b/libempathy/empathy-tp-contact-factory.c index 8cc9a15d..fa7befc0 100644 --- a/libempathy/empathy-tp-contact-factory.c +++ b/libempathy/empathy-tp-contact-factory.c @@ -1350,14 +1350,16 @@ empathy_tp_contact_factory_class_init (EmpathyTpContactFactoryClass *klass) "The account associated with the factory", MC_TYPE_ACCOUNT, G_PARAM_READWRITE | - G_PARAM_CONSTRUCT_ONLY)); + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_READY, g_param_spec_boolean ("ready", "Whether the factory is ready", "TRUE once the factory is ready to be used", FALSE, - G_PARAM_READABLE)); + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_MIME_TYPES, g_param_spec_boxed ("avatar-mime-types", @@ -1366,7 +1368,8 @@ empathy_tp_contact_factory_class_init (EmpathyTpContactFactoryClass *klass) "avatars on this connection. Only valid " "once 'ready' becomes TRUE.", G_TYPE_STRV, - G_PARAM_READABLE)); + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_MIN_WIDTH, g_param_spec_uint ("avatar-min-width", @@ -1376,7 +1379,8 @@ empathy_tp_contact_factory_class_init (EmpathyTpContactFactoryClass *klass) 0, G_MAXUINT, 0, - G_PARAM_READABLE)); + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_MIN_HEIGHT, g_param_spec_uint ("avatar-min-height", @@ -1386,7 +1390,8 @@ empathy_tp_contact_factory_class_init (EmpathyTpContactFactoryClass *klass) 0, G_MAXUINT, 0, - G_PARAM_READABLE)); + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_MAX_WIDTH, g_param_spec_uint ("avatar-max-width", @@ -1397,7 +1402,8 @@ empathy_tp_contact_factory_class_init (EmpathyTpContactFactoryClass *klass) 0, G_MAXUINT, 0, - G_PARAM_READABLE)); + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_MAX_HEIGHT, g_param_spec_uint ("avatar-max-height", @@ -1408,7 +1414,8 @@ empathy_tp_contact_factory_class_init (EmpathyTpContactFactoryClass *klass) 0, G_MAXUINT, 0, - G_PARAM_READABLE)); + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_MAX_SIZE, g_param_spec_uint ("avatar-max-size", @@ -1419,7 +1426,8 @@ empathy_tp_contact_factory_class_init (EmpathyTpContactFactoryClass *klass) 0, G_MAXUINT, 0, - G_PARAM_READABLE)); + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); g_type_class_add_private (object_class, sizeof (EmpathyTpContactFactoryPriv));