diff options
author | António Fernandes <antoniof@gnome.org> | 2021-02-14 14:40:45 +0000 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2021-11-12 01:40:05 +0000 |
commit | 71c96cd31a2c5142f653abf987ce3f12f810de08 (patch) | |
tree | cbb72eb4533f7767332c449e22295e4516007725 /src/nautilus-toolbar.c | |
parent | 8c31d783ba3f7a93734875c2945a1215484dcbcd (diff) | |
download | nautilus-71c96cd31a2c5142f653abf987ce3f12f810de08.tar.gz |
general: Stop using the state argument of GtkStyleContext getters
As per https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-the-state-argument-of-gtkstylecontext-getters
Diffstat (limited to 'src/nautilus-toolbar.c')
-rw-r--r-- | src/nautilus-toolbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c index dc5574a07..b52920853 100644 --- a/src/nautilus-toolbar.c +++ b/src/nautilus-toolbar.c @@ -687,7 +687,7 @@ on_operations_icon_draw (GtkWidget *widget, GtkStyleContext *style_context; style_context = gtk_widget_get_style_context (widget); - gtk_style_context_get_color (style_context, gtk_widget_get_state_flags (widget), &foreground); + gtk_style_context_get_color (style_context, gtk_style_context_get_state (style_context), &foreground); background = foreground; background.alpha *= 0.3; |