diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-01-23 11:26:52 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-01-23 14:07:09 -0500 |
commit | cbed409f525ff65fa52affd5cb01af2c8344cb67 (patch) | |
tree | d962d2cdfd261e9b2631684a179dcfba9a8f4768 /gtk/gtkemojichooser.c | |
parent | 0351f27af276f83710a70736a51a6d8a1b43b2d3 (diff) | |
download | gtk+-cbed409f525ff65fa52affd5cb01af2c8344cb67.tar.gz |
Replace .emoji with emoji for css
Diffstat (limited to 'gtk/gtkemojichooser.c')
-rw-r--r-- | gtk/gtkemojichooser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkemojichooser.c b/gtk/gtkemojichooser.c index ab52915b84..9865ce8aeb 100644 --- a/gtk/gtkemojichooser.c +++ b/gtk/gtkemojichooser.c @@ -387,8 +387,7 @@ add_emoji (GtkWidget *box, return; } - child = gtk_flow_box_child_new (); - gtk_style_context_add_class (gtk_widget_get_style_context (child), "emoji"); + child = g_object_new (GTK_TYPE_FLOW_BOX_CHILD, "css-name", "emoji", NULL); g_object_set_data_full (G_OBJECT (child), "emoji-data", g_variant_ref (item), (GDestroyNotify)g_variant_unref); |