diff options
author | Alexander Larsson <alexl@redhat.com> | 2020-01-28 15:43:51 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2020-01-30 10:53:43 +0100 |
commit | e2f778602b027572775ba58823b27509f7b3a589 (patch) | |
tree | c92eec6b66f0597be726106ac25bad9a9bb39312 /tests/testdnd2.c | |
parent | 6a15e9169d018a18fdaa481287d5facfd2b142f1 (diff) | |
download | gtk+-e2f778602b027572775ba58823b27509f7b3a589.tar.gz |
icon-theme: Rename GtkIconInfo to GtkIcon
Diffstat (limited to 'tests/testdnd2.c')
-rw-r--r-- | tests/testdnd2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testdnd2.c b/tests/testdnd2.c index 2b4c5fcb96..42b73f1c85 100644 --- a/tests/testdnd2.c +++ b/tests/testdnd2.c @@ -10,7 +10,7 @@ get_image_texture (GtkImage *image, int width = 48; GdkPaintable *paintable; GdkTexture *texture = NULL; - GtkIconInfo *icon_info; + GtkIcon *icon_info; switch (gtk_image_get_storage_type (image)) { @@ -27,7 +27,7 @@ get_image_texture (GtkImage *image, *out_size = width; icon_info = gtk_icon_theme_lookup_icon (icon_theme, icon_name, width, GTK_ICON_LOOKUP_GENERIC_FALLBACK); if (icon_info) - texture = gtk_icon_info_download_texture (icon_info, NULL); + texture = gtk_icon_download_texture (icon_info, NULL); g_object_unref (icon_info); default: g_warning ("Image storage type %d not handled", @@ -223,7 +223,7 @@ update_source_icon (GtkDragSource *source, const char *icon_name, int hotspot) { - GtkIconInfo *icon; + GtkIcon *icon; int hot_x, hot_y; int size = 48; |