diff options
author | Timm Bäder <mail@baedert.org> | 2019-08-29 17:07:45 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2019-09-09 17:36:26 +0200 |
commit | 6821fe0c134804857c5068d5153e271acd5919f7 (patch) | |
tree | 33b64d0d3a773dc5bdcd2462791e1132795cfbeb /tests/testimage.c | |
parent | a0947232fa7a6f9bf3c2375131c28b5dca6c5d16 (diff) | |
download | gtk+-6821fe0c134804857c5068d5153e271acd5919f7.tar.gz |
icontheme: Add error argument to _load_texture
Loading an icon might fail.
Diffstat (limited to 'tests/testimage.c')
-rw-r--r-- | tests/testimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testimage.c b/tests/testimage.c index 2e2d5da50b..b595cd8f4d 100644 --- a/tests/testimage.c +++ b/tests/testimage.c @@ -110,7 +110,7 @@ main (int argc, char **argv) theme = gtk_icon_theme_get_default (); icon_info = gtk_icon_theme_lookup_icon_for_scale (theme, icon_name, 48, gtk_widget_get_scale_factor (window), GTK_ICON_LOOKUP_GENERIC_FALLBACK); - texture = gtk_icon_info_load_texture (icon_info); + texture = gtk_icon_info_load_texture (icon_info, NULL); g_object_unref (icon_info); image = gtk_image_new_from_paintable (GDK_PAINTABLE (texture)); g_object_unref (texture); |