diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-01-12 20:01:11 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-01-12 20:01:11 +0200 |
commit | 42d72047cb3c6039b2423345e0220fceaacf0f78 (patch) | |
tree | 877280aba38a3f08151264b1a0700abf6706d5b7 /src/lookup.c | |
parent | 8a9cc8bfafaee7d6810b831182f7f055c2827f8b (diff) |
LookupWidget: Item icons are aligned horizontally
Diffstat (limited to 'src/lookup.c')
-rw-r--r-- | src/lookup.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
27 | void init_LookupResult(iLookupResult *d) { | 27 | void init_LookupResult(iLookupResult *d) { |
28 | d->type = none_LookupResultType; | 28 | d->type = none_LookupResultType; |
29 | d->relevance = 0; | 29 | d->relevance = 0; |
30 | d->icon = 0; | ||
30 | init_String(&d->label); | 31 | init_String(&d->label); |
31 | init_String(&d->url); | 32 | init_String(&d->url); |
32 | init_String(&d->meta); | 33 | init_String(&d->meta); |
@@ -43,6 +44,7 @@ iLookupResult *copy_LookupResult(const iLookupResult *d) { | |||
43 | iLookupResult *copy = new_LookupResult(); | 44 | iLookupResult *copy = new_LookupResult(); |
44 | copy->type = d->type; | 45 | copy->type = d->type; |
45 | copy->relevance = d->relevance; | 46 | copy->relevance = d->relevance; |
47 | copy->icon = d->icon; | ||
46 | set_String(©->label, &d->label); | 48 | set_String(©->label, &d->label); |
47 | set_String(©->url, &d->url); | 49 | set_String(©->url, &d->url); |
48 | set_String(©->meta, &d->meta); | 50 | set_String(©->meta, &d->meta); |