diff options
author | Alexander Larsson <alexl@redhat.com> | 2020-02-04 17:19:22 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2020-02-04 17:19:22 +0100 |
commit | 410541f82b920b4a3a7b699c3e7f9ba4b5f4ea0d (patch) | |
tree | c2d39dc8fac08821b5fee4e95ee7849e54ad32f3 /tests/testclipboard2.c | |
parent | 138de60ab27691fc5022732566b21634e13d0c3a (diff) | |
download | gtk+-410541f82b920b4a3a7b699c3e7f9ba4b5f4ea0d.tar.gz |
Rename GtkIcon to GtkIconPaintable
Diffstat (limited to 'tests/testclipboard2.c')
-rw-r--r-- | tests/testclipboard2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testclipboard2.c b/tests/testclipboard2.c index 7f9f381712..e4ed34db37 100644 --- a/tests/testclipboard2.c +++ b/tests/testclipboard2.c @@ -272,7 +272,7 @@ get_button_list (GdkClipboard *clipboard, 0xc9, 'g', 'a', 'l', 'i', 't', 0xe9, ',', ' ', 'F', 'r', 'a', 't', 'e', 'r', 'n', 'i', 't', 0xe9, 0 }; GtkWidget *box; - GtkIcon *icon; + GtkIconPaintable *icon; GdkTexture *texture; GValue value = G_VALUE_INIT; @@ -292,7 +292,7 @@ get_button_list (GdkClipboard *clipboard, 48, 1, gtk_widget_get_direction (box), 0); - texture = gtk_icon_download_texture (icon, NULL); + texture = gtk_icon_paintable_download_texture (icon, NULL); g_value_take_object (&value, gdk_pixbuf_get_from_texture (texture)); g_object_unref (texture); g_object_unref (icon); |