diff options
author | Sylvain POULAIN <kikislater@users.noreply.github.com> | 2020-07-07 09:18:43 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 09:18:43 +0400 |
commit | 033c9f49dbb70842094ca89017ab58faf9540bb9 (patch) | |
tree | 078a6ad88ffacd44424227ef91e8e022d7136af7 /src | |
parent | f9466bb025a2ef745e454d57c20fc9f9a52d7dac (diff) | |
download | ayatana-ido-033c9f49dbb70842094ca89017ab58faf9540bb9.tar.gz ayatana-ido-033c9f49dbb70842094ca89017ab58faf9540bb9.tar.bz2 ayatana-ido-033c9f49dbb70842094ca89017ab58faf9540bb9.zip |
gtk_widget_get_state is deprecated
gtk_widget_get_state is even deprecated, and has to be replaced with gtk_widget_get_state_flags. It worked.
Diffstat (limited to 'src')
-rw-r--r-- | src/idomediaplayermenuitem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idomediaplayermenuitem.c b/src/idomediaplayermenuitem.c index 7ed9d6d..232ad0e 100644 --- a/src/idomediaplayermenuitem.c +++ b/src/idomediaplayermenuitem.c @@ -81,7 +81,7 @@ ido_media_player_menu_item_draw (GtkWidget *widget, int y; gtk_style_context_get_color (gtk_widget_get_style_context (widget), - gtk_widget_get_state (widget), + gtk_widget_get_state_flags (widget), &color); gtk_widget_get_allocation (widget, &allocation); |