summaryrefslogtreecommitdiff
path: root/gtk/gtkcalendar.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-02-04 03:53:22 +0100
committerAlexander Larsson <alexl@redhat.com>2020-02-04 16:51:54 +0100
commit571021cbc1f8480585db3bbe452578c6b4f880d1 (patch)
tree7afaf845a3f490de0217ae675a8bff459c6f2014 /gtk/gtkcalendar.c
parentf7a5dd7b8b5e879b5bb2b8522d7f3b24d51d4c0a (diff)
downloadgtk+-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/gtkcalendar.c')
-rw-r--r--gtk/gtkcalendar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index 837daad398..1c01906f23 100644
--- a/gtk/gtkcalendar.c
+++ b/gtk/gtkcalendar.c
@@ -2606,6 +2606,7 @@ gtk_calendar_drag_update (GtkGestureDrag *gesture,
theme = gtk_icon_theme_get_for_display (gtk_widget_get_display (widget));
icon = gtk_icon_theme_lookup_icon (theme,
"text-x-generic",
+ NULL,
32,
1,
GTK_TEXT_DIR_NONE,