[gtk/wip/otte/inscription: 7/10] gtkpango: Add G_GNUC_WARN_UNUSED_RESULT
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/inscription: 7/10] gtkpango: Add G_GNUC_WARN_UNUSED_RESULT
- Date: Thu, 9 Jun 2022 00:55:38 +0000 (UTC)
commit 9c93b8529436a927bcd0a3575bad1417b2d0b83d
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]