[gtk/function-annotations: 9/16] Annotate gdk_rgba_to_string as malloc




commit a96c5f2c3c4eb583b717e06151c759c7945b25a6
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]