[gtk/function-annotations: 15/18] Annotate some builder apis as malloc




commit 4ab8e965b50288c411a1a7ce760faaccf491e542
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Sep 14 13:12:54 2021 -0400

    Annotate some builder apis as malloc

 gtk/gtkbuilderprivate.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkbuilderprivate.h b/gtk/gtkbuilderprivate.h
index 34a48dd454..36fe77c55d 100644
--- a/gtk/gtkbuilderprivate.h
+++ b/gtk/gtkbuilderprivate.h
@@ -250,9 +250,9 @@ const char * _gtk_builder_parser_translate (const char *domain,
                                              const char *context,
                                              const char *text);
 char *   _gtk_builder_get_resource_path (GtkBuilder *builder,
-                                         const char *string);
+                                         const char *string) G_GNUC_MALLOC;
 char *   _gtk_builder_get_absolute_filename (GtkBuilder *builder,
-                                             const char *string);
+                                             const char *string) G_GNUC_MALLOC;
 
 void      _gtk_builder_menu_start (ParserData   *parser_data,
                                    const char   *element_name,


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