[virt-tools-list] [PATCH virt-viewer 3/4] virt-viewer-window: Return NULL instead of FALSE for display

Pavel Grunt pgrunt at redhat.com
Mon Mar 30 20:17:37 UTC 2015


---
 src/virt-viewer-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/virt-viewer-window.c b/src/virt-viewer-window.c
index 67fd814..799adce 100644
--- a/src/virt-viewer-window.c
+++ b/src/virt-viewer-window.c
@@ -1445,7 +1445,7 @@ virt_viewer_window_get_builder(VirtViewerWindow *self)
 VirtViewerDisplay*
 virt_viewer_window_get_display(VirtViewerWindow *self)
 {
-    g_return_val_if_fail(VIRT_VIEWER_WINDOW(self), FALSE);
+    g_return_val_if_fail(VIRT_VIEWER_WINDOW(self), NULL);
 
     return self->priv->display;
 }
-- 
2.3.4




More information about the virt-tools-list mailing list