aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-11 23:25:58 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-11 23:25:58 +0800
commit2361ab657ab433c9566f289c77e92ced7f468d86 (patch)
tree4bb8d9a94ca8e864b56fbc15e04e6acd5c7b5122
parent6fb9df87060074238a69a0fb86b689b920280f4a (diff)
downloadgsoc2013-empathy-2361ab657ab433c9566f289c77e92ced7f468d86.tar
gsoc2013-empathy-2361ab657ab433c9566f289c77e92ced7f468d86.tar.gz
gsoc2013-empathy-2361ab657ab433c9566f289c77e92ced7f468d86.tar.bz2
gsoc2013-empathy-2361ab657ab433c9566f289c77e92ced7f468d86.tar.lz
gsoc2013-empathy-2361ab657ab433c9566f289c77e92ced7f468d86.tar.xz
gsoc2013-empathy-2361ab657ab433c9566f289c77e92ced7f468d86.tar.zst
gsoc2013-empathy-2361ab657ab433c9566f289c77e92ced7f468d86.zip
Add G_PARAM_STATIC_STRINGS to TpContactFactory properties
svn path=/trunk/; revision=1674
-rw-r--r--libempathy/empathy-tp-contact-factory.c24
1 files changed, 16 insertions, 8 deletions
diff --git a/libempathy/empathy-tp-contact-factory.c b/libempathy/empathy-tp-contact-factory.c
index 8cc9a15d4..fa7befc02 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));