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

Re: [virt-tools-list] [PATCH] virt-viewer: Fix a typo



Hi Guannan,

On Sun, Jan 15, 2012 at 8:06 AM, Guannan Ren <gren redhat com> wrote:
>        *src/virt-viewer-session-vnc.c
> ---
>  src/virt-viewer-session-vnc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/virt-viewer-session-vnc.c b/src/virt-viewer-session-vnc.c
> index ad3002a..cdf1be8 100644
> --- a/src/virt-viewer-session-vnc.c
> +++ b/src/virt-viewer-session-vnc.c
> @@ -71,7 +71,7 @@ virt_viewer_session_vnc_class_init(VirtViewerSessionVncClass *klass)
>        dclass->open_host = virt_viewer_session_vnc_open_host;
>        dclass->channel_open_fd = virt_viewer_session_vnc_channel_open_fd;
>
> -       g_type_class_add_private(oclass, sizeof(VirtViewerSessionVncPrivate));
> +       g_type_class_add_private(klass, sizeof(VirtViewerSessionVncPrivate));

Apparently, it doesn't matter, but I think your version is more correct.

Could you make a patch for all the calls to g_type_class_add_private() ?

thanks

-- 
Marc-André Lureau


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