gtk/gtkemojichooser.c: Don't use g_autoptr()
We can't use g_autoptr() on non-GCC-style compilers. https://bugzilla.gnome.org/show_bug.cgi?id=773299
This commit is contained in:
@ -365,7 +365,7 @@ add_emoji (GtkWidget *box,
|
||||
static void
|
||||
populate_emoji_chooser (GtkEmojiChooser *chooser)
|
||||
{
|
||||
g_autoptr(GBytes) bytes = NULL;
|
||||
GBytes *bytes = NULL;
|
||||
GVariantIter iter;
|
||||
GVariant *item;
|
||||
GtkWidget *box;
|
||||
@ -400,6 +400,8 @@ populate_emoji_chooser (GtkEmojiChooser *chooser)
|
||||
|
||||
add_emoji (box, FALSE, item, 0);
|
||||
}
|
||||
|
||||
g_bytes_unref (bytes);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user