diff options
author | Benjamin Otte <otte@redhat.com> | 2020-02-04 03:53:22 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2020-02-04 16:51:54 +0100 |
commit | 571021cbc1f8480585db3bbe452578c6b4f880d1 (patch) | |
tree | 7afaf845a3f490de0217ae675a8bff459c6f2014 /gtk/gtkbuilder.c | |
parent | f7a5dd7b8b5e879b5bb2b8522d7f3b24d51d4c0a (diff) | |
download | gtk+-571021cbc1f8480585db3bbe452578c6b4f880d1.tar.gz |
icontheme: Pass fallbacks as optional argument to lookup_icon()
This way, we can remove gtk_icon_theme_choose_icon() completely.
Diffstat (limited to 'gtk/gtkbuilder.c')
-rw-r--r-- | gtk/gtkbuilder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c index 6ad3dc5c90..91da927da3 100644 --- a/gtk/gtkbuilder.c +++ b/gtk/gtkbuilder.c @@ -2171,7 +2171,7 @@ gtk_builder_value_from_string_type (GtkBuilder *builder, /* FIXME: this should be using the correct display */ theme = gtk_icon_theme_get_for_display (gdk_display_get_default ()); - icon = gtk_icon_theme_lookup_icon (theme, "image-missing", 16, 1, + icon = gtk_icon_theme_lookup_icon (theme, "image-missing", NULL, 16, 1, GTK_TEXT_DIR_NONE, 0); texture = gtk_icon_download_texture (icon, NULL); |