9f6b2e3 Turn off deprecation warnings

Authored and Committed by berrange 11 years ago
1 file changed. 1 lines added. 1 lines removed.
    Turn off deprecation warnings
    
    GLib deprecated the GValueArray type without providing an ABI
    compatible replacement. Thus we need to disable dreprecation
    warnings
    
    ../../src/virt-viewer-auth.c: In function 'virt_viewer_auth_vnc_credentials':
    ../../src/virt-viewer-auth.c:112:9: error: 'g_value_array_get_nth' is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:65): Use 'g_array_index' instead [-Werror=deprecated-declarations]
    
        
file modified
+1 -1