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:
Chun-wei Fan 2017-08-15 10:43:01 +08:00
parent 0b59f4e62d
commit f7409773b3

View File

@ -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