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

Guannan Ren gren at redhat.com
Sun Jan 15 07:06:26 UTC 2012


	*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));
 }
 
 static void
-- 
1.7.7.5




More information about the virt-tools-list mailing list