File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ struct _ExmSearchResult
14
14
gchar * icon ;
15
15
gchar * screenshot ;
16
16
gchar * url ;
17
+ gchar * * donation_urls ;
17
18
gchar * link ;
18
19
gchar * description ;
19
20
int pk ;
35
36
PROP_ICON ,
36
37
PROP_SCREENSHOT ,
37
38
PROP_URL ,
39
+ PROP_DONATION_URLS ,
38
40
PROP_LINK ,
39
41
PROP_DESCRIPTION ,
40
42
PROP_PK ,
@@ -89,6 +91,9 @@ exm_search_result_get_property (GObject *object,
89
91
case PROP_URL :
90
92
g_value_set_string (value , self -> url );
91
93
break ;
94
+ case PROP_DONATION_URLS :
95
+ g_value_set_boxed (value , self -> donation_urls );
96
+ break ;
92
97
case PROP_LINK :
93
98
g_value_set_string (value , self -> link );
94
99
break ;
@@ -139,6 +144,9 @@ exm_search_result_set_property (GObject *object,
139
144
case PROP_URL :
140
145
self -> url = g_value_dup_string (value );
141
146
break ;
147
+ case PROP_DONATION_URLS :
148
+ self -> donation_urls = g_value_dup_boxed (value );
149
+ break ;
142
150
case PROP_LINK :
143
151
self -> link = g_value_dup_string (value );
144
152
break ;
@@ -257,6 +265,13 @@ exm_search_result_class_init (ExmSearchResultClass *klass)
257
265
NULL ,
258
266
G_PARAM_READWRITE |G_PARAM_CONSTRUCT_ONLY );
259
267
268
+ properties [PROP_DONATION_URLS ] =
269
+ g_param_spec_boxed ("donation_urls" ,
270
+ "Donation URLs" ,
271
+ "Donation URLs" ,
272
+ G_TYPE_STRV ,
273
+ G_PARAM_READWRITE |G_PARAM_CONSTRUCT_ONLY );
274
+
260
275
properties [PROP_LINK ] =
261
276
g_param_spec_string ("link" ,
262
277
"Link" ,
You can’t perform that action at this time.
0 commit comments