From 42d72047cb3c6039b2423345e0220fceaacf0f78 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 12 Jan 2021 20:01:11 +0200 Subject: LookupWidget: Item icons are aligned horizontally --- src/lookup.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lookup.c') diff --git a/src/lookup.c b/src/lookup.c index 6ad8d708..af3d760d 100644 --- a/src/lookup.c +++ b/src/lookup.c @@ -27,6 +27,7 @@ iDefineTypeConstruction(LookupResult) void init_LookupResult(iLookupResult *d) { d->type = none_LookupResultType; d->relevance = 0; + d->icon = 0; init_String(&d->label); init_String(&d->url); init_String(&d->meta); @@ -43,6 +44,7 @@ iLookupResult *copy_LookupResult(const iLookupResult *d) { iLookupResult *copy = new_LookupResult(); copy->type = d->type; copy->relevance = d->relevance; + copy->icon = d->icon; set_String(©->label, &d->label); set_String(©->url, &d->url); set_String(©->meta, &d->meta); -- cgit v1.2.3