[glib/wip/smcv/no-such-device] gioenums: G_IO_ERROR_NO_SUCH_DEVICE is new in 2.74




commit 937f9a61cd36a0d557794a084b3c91a6d697940a
Author: Simon McVittie <smcv collabora com>
Date:   Mon Jul 18 12:02:04 2022 +0100

    gioenums: G_IO_ERROR_NO_SUCH_DEVICE is new in 2.74
    
    This attribute will produce "deprecation" warnings when using it in
    code that does not want dependencies on newer GLib versions.
    
    Signed-off-by: Simon McVittie <smcv collabora com>

 gio/gioenums.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gioenums.h b/gio/gioenums.h
index 989d31429d..fb59449964 100644
--- a/gio/gioenums.h
+++ b/gio/gioenums.h
@@ -579,7 +579,7 @@ typedef enum {
   G_IO_ERROR_CONNECTION_CLOSED = G_IO_ERROR_BROKEN_PIPE,
   G_IO_ERROR_NOT_CONNECTED,
   G_IO_ERROR_MESSAGE_TOO_LARGE,
-  G_IO_ERROR_NO_SUCH_DEVICE,
+  G_IO_ERROR_NO_SUCH_DEVICE GLIB_AVAILABLE_ENUMERATOR_IN_2_74,
 } GIOErrorEnum;
 
 


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