[gtk/wip/otte/inscription: 7/12] gtkpango: Add G_GNUC_WARN_UNUSED_RESULT




commit cce242b4b0ace144a87d6d877f68e78cb2ec9571
Author: Benjamin Otte <otte redhat com>
Date:   Thu Jun 9 02:42:10 2022 +0200

    gtkpango: Add G_GNUC_WARN_UNUSED_RESULT
    
    Guess who just spent 10 minutes in gdb and doesn't want to do that
    again.

 gtk/gtkpango.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkpango.h b/gtk/gtkpango.h
index a7eae932c3..55cab30b3c 100644
--- a/gtk/gtkpango.h
+++ b/gtk/gtkpango.h
@@ -31,7 +31,7 @@
 G_BEGIN_DECLS
 
 PangoAttrList *_gtk_pango_attr_list_merge (PangoAttrList *into,
-                                           PangoAttrList *from);
+                                           PangoAttrList *from) G_GNUC_WARN_UNUSED_RESULT;
 
 gboolean gtk_buildable_attribute_tag_start (GtkBuildable       *buildable,
                                             GtkBuilder         *builder,


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