diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-04-21 06:31:24 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-04-22 18:21:14 +0800 |
commit | a5356f9c7ea9979f05a6752a848d944a9ed7264d (patch) | |
tree | ec23a0e406e3f8dd64542014983a78afdfcb0c36 /libempathy/empathy-contact.c | |
parent | 20db4d8b1bd291c9214b61945ce61e0aa0986929 (diff) | |
download | gsoc2013-empathy-a5356f9c7ea9979f05a6752a848d944a9ed7264d.tar gsoc2013-empathy-a5356f9c7ea9979f05a6752a848d944a9ed7264d.tar.gz gsoc2013-empathy-a5356f9c7ea9979f05a6752a848d944a9ed7264d.tar.bz2 gsoc2013-empathy-a5356f9c7ea9979f05a6752a848d944a9ed7264d.tar.lz gsoc2013-empathy-a5356f9c7ea9979f05a6752a848d944a9ed7264d.tar.xz gsoc2013-empathy-a5356f9c7ea9979f05a6752a848d944a9ed7264d.tar.zst gsoc2013-empathy-a5356f9c7ea9979f05a6752a848d944a9ed7264d.zip |
Add G_PARAM_STATIC_STRINGS to EmpathyContact properties
Diffstat (limited to 'libempathy/empathy-contact.c')
-rw-r--r-- | libempathy/empathy-contact.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index e3ab4375c..813982b27 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -146,7 +146,7 @@ empathy_contact_class_init (EmpathyContactClass *class) "TpContact", "The TpContact associated with the contact", TP_TYPE_CONTACT, - G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE)); + G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_ACCOUNT, @@ -154,7 +154,7 @@ empathy_contact_class_init (EmpathyContactClass *class) "The account", "The account associated with the contact", MC_TYPE_ACCOUNT, - G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE)); + G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_ID, @@ -162,7 +162,7 @@ empathy_contact_class_init (EmpathyContactClass *class) "Contact id", "String identifying contact", NULL, - G_PARAM_READWRITE)); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_NAME, @@ -170,7 +170,7 @@ empathy_contact_class_init (EmpathyContactClass *class) "Contact Name", "The name of the contact", NULL, - G_PARAM_READWRITE)); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_AVATAR, @@ -178,7 +178,7 @@ empathy_contact_class_init (EmpathyContactClass *class) "Avatar image", "The avatar image", EMPATHY_TYPE_AVATAR, - G_PARAM_READWRITE)); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_PRESENCE, @@ -188,7 +188,7 @@ empathy_contact_class_init (EmpathyContactClass *class) MC_PRESENCE_UNSET, LAST_MC_PRESENCE, MC_PRESENCE_UNSET, - G_PARAM_READWRITE)); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_PRESENCE_MESSAGE, @@ -196,7 +196,7 @@ empathy_contact_class_init (EmpathyContactClass *class) "Contact presence message", "Presence message of contact", NULL, - G_PARAM_READWRITE)); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_HANDLE, @@ -206,7 +206,7 @@ empathy_contact_class_init (EmpathyContactClass *class) 0, G_MAXUINT, 0, - G_PARAM_READWRITE)); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_CAPABILITIES, @@ -215,7 +215,7 @@ empathy_contact_class_init (EmpathyContactClass *class) "Capabilities of the contact", EMPATHY_TYPE_CAPABILITIES, EMPATHY_CAPABILITIES_UNKNOWN, - G_PARAM_CONSTRUCT | G_PARAM_READWRITE)); + G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_IS_USER, @@ -223,7 +223,7 @@ empathy_contact_class_init (EmpathyContactClass *class) "Contact is-user", "Is contact the user", FALSE, - G_PARAM_READWRITE)); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); signals[PRESENCE_CHANGED] = g_signal_new ("presence-changed", |