forked from AuroraMiddleware/gtk
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:
parent
0b59f4e62d
commit
f7409773b3
@ -327,7 +327,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;
|
||||
@ -362,6 +362,8 @@ populate_emoji_chooser (GtkEmojiChooser *chooser)
|
||||
|
||||
add_emoji (box, FALSE, item, 0);
|
||||
}
|
||||
|
||||
g_bytes_unref (bytes);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user