[virt-tools-list] [libosinfo] More use of G_PARAM_STATIC_STRINGS
Christophe Fergeau
cfergeau at redhat.com
Wed Nov 21 18:17:15 UTC 2012
ACK
On Wed, Nov 21, 2012 at 07:40:34PM +0200, Zeeshan Ali (Khattak) wrote:
> 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
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20121121/2c929e15/attachment.sig>
More information about the virt-tools-list
mailing list