emojichooser: Actually disable the recent section
The loop sets empty = FALSE when there are emojis but for that to work we need to initialize the value to TRUE initially. Fixes: 7928532bc5c33b2c6a10bae138ebc6dca1843cb0 (cherry picked from commit 89c816a614db4083e80862b631f4b3e44aa17eae)
This commit is contained in:
parent
71e138c201
commit
900454e9d9
@ -151,7 +151,7 @@ populate_recent_section (GtkEmojiChooser *chooser)
|
||||
GVariant *variant;
|
||||
GVariant *item;
|
||||
GVariantIter iter;
|
||||
gboolean empty = FALSE;
|
||||
gboolean empty = TRUE;
|
||||
|
||||
variant = g_settings_get_value (chooser->settings, "recent-emoji");
|
||||
g_variant_iter_init (&iter, variant);
|
||||
|
Loading…
Reference in New Issue
Block a user