forked from AuroraMiddleware/gtk
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: 7928532bc5
This commit is contained in:
parent
a9c9678e1f
commit
89c816a614
@ -312,7 +312,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