diff options
author | Benjamin Otte <otte@redhat.com> | 2018-03-16 03:32:05 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-03-16 06:04:44 +0100 |
commit | d1be2b29cf6a68f721c4707879930e7d9750824a (patch) | |
tree | a6713eed960d80c2d7911a1cf5ba88ee9103f602 /tests/testentryicons.c | |
parent | 89ee42db54668af7e5389c8a16adef0990b3e21d (diff) | |
download | gtk+-d1be2b29cf6a68f721c4707879930e7d9750824a.tar.gz |
entry: Make icons a paintable
Diffstat (limited to 'tests/testentryicons.c')
-rw-r--r-- | tests/testentryicons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testentryicons.c b/tests/testentryicons.c index 59d4d3eec6..48e6df2c5c 100644 --- a/tests/testentryicons.c +++ b/tests/testentryicons.c @@ -87,7 +87,7 @@ set_texture (GtkWidget *button, if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button))) { texture = gdk_texture_new_from_resource ("/org/gtk/libgtk/inspector/logo.png"); - gtk_entry_set_icon_from_texture (entry, GTK_ENTRY_ICON_SECONDARY, texture); + gtk_entry_set_icon_from_paintable (entry, GTK_ENTRY_ICON_SECONDARY, GDK_PAINTABLE (texture)); g_object_unref (texture); } } |