[virt-tools-list] [libosinfo] More use of G_PARAM_STATIC_STRINGS

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Wed Nov 21 17:40:34 UTC 2012


From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>

---
 osinfo/osinfo_install_script.c | 20 +++++---------------
 1 file changed, 5 insertions(+), 15 deletions(-)

diff --git a/osinfo/osinfo_install_script.c b/osinfo/osinfo_install_script.c
index 54dae64..f3cda62 100644
--- a/osinfo/osinfo_install_script.c
+++ b/osinfo/osinfo_install_script.c
@@ -180,9 +180,7 @@ osinfo_install_script_class_init (OsinfoInstallScriptClass *klass)
                                 G_PARAM_READABLE |
                                 G_PARAM_WRITABLE |
                                 G_PARAM_CONSTRUCT_ONLY |
-                                G_PARAM_STATIC_NAME |
-                                G_PARAM_STATIC_NICK |
-                                G_PARAM_STATIC_BLURB);
+                                G_PARAM_STATIC_STRINGS);
     g_object_class_install_property(g_klass,
                                     PROP_TEMPLATE_URI,
                                     pspec);
@@ -194,9 +192,7 @@ osinfo_install_script_class_init (OsinfoInstallScriptClass *klass)
                                 G_PARAM_READABLE |
                                 G_PARAM_WRITABLE |
                                 G_PARAM_CONSTRUCT_ONLY |
-                                G_PARAM_STATIC_NAME |
-                                G_PARAM_STATIC_NICK |
-                                G_PARAM_STATIC_BLURB);
+                                G_PARAM_STATIC_STRINGS);
     g_object_class_install_property(g_klass,
                                     PROP_TEMPLATE_DATA,
                                     pspec);
@@ -208,9 +204,7 @@ osinfo_install_script_class_init (OsinfoInstallScriptClass *klass)
                                 G_PARAM_READABLE |
                                 G_PARAM_WRITABLE |
                                 G_PARAM_CONSTRUCT_ONLY |
-                                G_PARAM_STATIC_NAME |
-                                G_PARAM_STATIC_NICK |
-                                G_PARAM_STATIC_BLURB);
+                                G_PARAM_STATIC_STRINGS);
     g_object_class_install_property(g_klass,
                                     PROP_PROFILE,
                                     pspec);
@@ -220,9 +214,7 @@ osinfo_install_script_class_init (OsinfoInstallScriptClass *klass)
                                 _("Product key format mask"),
                                 NULL /* default value */,
                                 G_PARAM_READABLE |
-                                G_PARAM_STATIC_NAME |
-                                G_PARAM_STATIC_NICK |
-                                G_PARAM_STATIC_BLURB);
+                                G_PARAM_STATIC_STRINGS);
     g_object_class_install_property(g_klass,
                                     PROP_PRODUCT_KEY_FORMAT,
                                     pspec);
@@ -233,9 +225,7 @@ osinfo_install_script_class_init (OsinfoInstallScriptClass *klass)
                               OSINFO_TYPE_PATH_FORMAT,
                               OSINFO_PATH_FORMAT_UNIX /* default value */,
                               G_PARAM_READABLE |
-                              G_PARAM_STATIC_NAME |
-                              G_PARAM_STATIC_NICK |
-                              G_PARAM_STATIC_BLURB);
+                              G_PARAM_STATIC_STRINGS);
     g_object_class_install_property(g_klass,
                                     PROP_PATH_FORMAT,
                                     pspec);
-- 
1.8.0




More information about the virt-tools-list mailing list