[gtk/function-annotations: 12/18] Annotate gdk_rgba_to_string as malloc




commit 76b3c129d91f782c2f7e20c434de68e7106ca3ab
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Sep 14 13:11:20 2021 -0400

    Annotate gdk_rgba_to_string as malloc

 gdk/gdkrgba.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/gdkrgba.h b/gdk/gdkrgba.h
index 3c9f05b23a..5fe5b86951 100644
--- a/gdk/gdkrgba.h
+++ b/gdk/gdkrgba.h
@@ -67,7 +67,7 @@ GDK_AVAILABLE_IN_ALL
 gboolean  gdk_rgba_parse     (GdkRGBA       *rgba,
                               const char    *spec);
 GDK_AVAILABLE_IN_ALL
-char *   gdk_rgba_to_string (const GdkRGBA *rgba);
+char *   gdk_rgba_to_string (const GdkRGBA *rgba) G_GNUC_MALLOC;
 
 
 G_END_DECLS


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