Skip to content
  • Dan Winship's avatar
    Fix g_variant_get_gtype() deprecation message · a5bf1c11
    Dan Winship authored
    Instead of:
    
    warning: ‘g_variant_get_gtype’ is deprecated (declared at ../../gobject/glib-types.h:242): Use '((GType) ((21) << (2)))' instead [-Wdeprecated-declarations]
    
    show:
    
    warning: ‘g_variant_get_gtype’ is deprecated (declared at ../../gobject/glib-types.h:242): Use ''G_VARIANT_GET_TYPE'' instead [-Wdeprecated-declarations]
    
    Also, document the macro-expansion problem in the
    G_GNUC_DEPRECATED_FOR docs
    a5bf1c11