Re: [libosinfo 5/5] Fix internal function names in OsinfoInstallScript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07.12.2012 09:46, Christophe Fergeau wrote:
> A few static methods were prefixed with osinfo_os_ instead of
> osinfo_install_script_
> ---
>  osinfo/osinfo_install_script.c | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)
> 
> diff --git a/osinfo/osinfo_install_script.c b/osinfo/osinfo_install_script.c
> index c752434..6808d41 100644
> --- a/osinfo/osinfo_install_script.c
> +++ b/osinfo/osinfo_install_script.c
> @@ -71,10 +71,10 @@ typedef struct _OsinfoInstallScriptGenerateSyncData OsinfoInstallScriptGenerateS
>  
>  
>  static void
> -osinfo_os_set_property(GObject    *object,
> -                       guint       property_id,
> -                       const GValue     *value,
> -                       GParamSpec *pspec)
> +osinfo_install_script_set_property(GObject    *object,
> +                                   guint       property_id,
> +                                   const GValue     *value,
> +                                   GParamSpec *pspec)
>  {
>      OsinfoInstallScript *script = OSINFO_INSTALL_SCRIPT(object);
>      const gchar *data;
> @@ -112,10 +112,10 @@ osinfo_os_set_property(GObject    *object,
>  }
>  
>  static void
> -osinfo_os_get_property(GObject    *object,
> -                       guint       property_id,
> -                       GValue     *value,
> -                       GParamSpec *pspec)
> +osinfo_install_script_get_property(GObject    *object,
> +                                   guint       property_id,
> +                                   GValue     *value,
> +                                   GParamSpec *pspec)
>  {
>      OsinfoInstallScript *script = OSINFO_INSTALL_SCRIPT(object);
>  
> @@ -179,8 +179,8 @@ osinfo_install_script_class_init (OsinfoInstallScriptClass *klass)
>      GObjectClass *g_klass = G_OBJECT_CLASS (klass);
>      GParamSpec *pspec;
>  
> -    g_klass->get_property = osinfo_os_get_property;
> -    g_klass->set_property = osinfo_os_set_property;
> +    g_klass->get_property = osinfo_install_script_get_property;
> +    g_klass->set_property = osinfo_install_script_set_property;
>      g_klass->finalize = osinfo_install_script_finalize;
>  
>      pspec = g_param_spec_string("template-uri",
> 

Probably a result of copy paste. ACK

Michal

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux