recipes: x-libs/gtk2: make GTK+-2 more stable
[dragora.git] / patches / gtk2 / icontheme-Fix-annotations-on-array-arguments.patch
blob009562d3ae78c13e26edf7916a357b77d442ebae
1 From: =?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net>
2 Date: Wed, 6 Mar 2019 19:54:49 +0100
3 Subject: icontheme: Fix annotations on array arguments
5 The extra ':' makes gir not to handle properly all the rest.
7 Origin: upstream, 2.24.33, commit:072d8546b07f2fd6d41cfbf891e4efeab6dca0cc
8 ---
9 gtk/gtkicontheme.c | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
12 diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
13 index 60661c8..ea40460 100644
14 --- a/gtk/gtkicontheme.c
15 +++ b/gtk/gtkicontheme.c
16 @@ -747,7 +747,7 @@ gtk_icon_theme_set_search_path (GtkIconTheme *icon_theme,
17 /**
18 * gtk_icon_theme_get_search_path:
19 * @icon_theme: a #GtkIconTheme
20 - * @path: (allow-none): (array length=n_elements) (out): location to store a list of icon theme path directories or %NULL
21 + * @path: (allow-none) (array length=n_elements) (out): location to store a list of icon theme path directories or %NULL
22 * The stored value should be freed with g_strfreev().
23 * @n_elements: location to store number of elements
24 * in @path, or %NULL
25 @@ -3219,7 +3219,7 @@ gtk_icon_info_get_embedded_rect (GtkIconInfo *icon_info,
26 /**
27 * gtk_icon_info_get_attach_points:
28 * @icon_info: a #GtkIconInfo
29 - * @points: (allow-none): (array length=n_points) (out): location to store pointer to an array of points, or %NULL
30 + * @points: (allow-none) (array length=n_points) (out): location to store pointer to an array of points, or %NULL
31 * free the array of points with g_free().
32 * @n_points: (allow-none): location to store the number of points in @points, or %NULL