[gtk/function-annotations: 17/18] Annotate gtk_editable_get_chars as malloc
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/function-annotations: 17/18] Annotate gtk_editable_get_chars as malloc
- Date: Tue, 14 Sep 2021 18:25:10 +0000 (UTC)
commit 219bc6aab60d8520b67b48000b4c2533d9819dca
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Sep 14 13:14:31 2021 -0400
Annotate gtk_editable_get_chars as malloc
gtk/gtkeditable.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkeditable.h b/gtk/gtkeditable.h
index 4ca68e44a7..c945bcb499 100644
--- a/gtk/gtkeditable.h
+++ b/gtk/gtkeditable.h
@@ -87,7 +87,7 @@ void gtk_editable_set_text (GtkEditable *editable,
GDK_AVAILABLE_IN_ALL
char * gtk_editable_get_chars (GtkEditable *editable,
int start_pos,
- int end_pos);
+ int end_pos) G_GNUC_MALLOC;
GDK_AVAILABLE_IN_ALL
void gtk_editable_insert_text (GtkEditable *editable,
const char *text,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]