summaryrefslogtreecommitdiff
path: root/tests/testdnd2.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2019-08-29 17:07:45 +0200
committerTimm Bäder <mail@baedert.org>2019-09-09 17:36:26 +0200
commit6821fe0c134804857c5068d5153e271acd5919f7 (patch)
tree33b64d0d3a773dc5bdcd2462791e1132795cfbeb /tests/testdnd2.c
parenta0947232fa7a6f9bf3c2375131c28b5dca6c5d16 (diff)
downloadgtk+-6821fe0c134804857c5068d5153e271acd5919f7.tar.gz
icontheme: Add error argument to _load_texture
Loading an icon might fail.
Diffstat (limited to 'tests/testdnd2.c')
-rw-r--r--tests/testdnd2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testdnd2.c b/tests/testdnd2.c
index b94362e57c..7df9bb3a90 100644
--- a/tests/testdnd2.c
+++ b/tests/testdnd2.c
@@ -21,7 +21,7 @@ get_image_paintable (GtkImage *image,
icon_theme = gtk_icon_theme_get_for_display (gtk_widget_get_display (GTK_WIDGET (image)));
*out_size = width;
icon_info = gtk_icon_theme_lookup_icon (icon_theme, icon_name, width, GTK_ICON_LOOKUP_GENERIC_FALLBACK);
- paintable = GDK_PAINTABLE (gtk_icon_info_load_texture (icon_info));
+ paintable = GDK_PAINTABLE (gtk_icon_info_load_texture (icon_info, NULL));
g_object_unref (icon_info);
return paintable;
default: