[gtk/function-annotations: 15/16] Annotate gtk_editable_get_chars as malloc
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/function-annotations: 15/16] Annotate gtk_editable_get_chars as malloc
- Date: Tue, 14 Sep 2021 17:17:53 +0000 (UTC)
commit 76cf4aca8e9f26f211e5354fafb307600c352e51
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]