[gtk/function-annotations: 13/16] Annotate some builder apis as malloc




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