diff options
author | rbuj <[email protected]> | 2020-05-10 12:53:17 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-21 17:32:54 +0200 |
commit | 92f8b0406955c7e3cc5648d0dbd19d66ed205be7 (patch) | |
tree | c3157d6d8eaad843b3a33b780232195277f2e237 /src | |
parent | 45527582fc8b6a510407e02ae4b29bb44a52d010 (diff) | |
download | caja-92f8b0406955c7e3cc5648d0dbd19d66ed205be7.tar.bz2 caja-92f8b0406955c7e3cc5648d0dbd19d66ed205be7.tar.xz |
Replace GtkStateType (GTK2 enum) with GtkStateFlags (GTK3 enum)
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-pathbar.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/caja-pathbar.c b/src/caja-pathbar.c index 80dfa89e..00b357f7 100644 --- a/src/caja-pathbar.c +++ b/src/caja-pathbar.c @@ -127,8 +127,8 @@ static gboolean caja_path_bar_slider_button_release (GtkWidget *widget, CajaPathBar *path_bar); static void caja_path_bar_grab_notify (GtkWidget *widget, gboolean was_grabbed); -static void caja_path_bar_state_changed (GtkWidget *widget, - GtkStateType previous_state); +static void caja_path_bar_state_flags_changed (GtkWidget *widget, + GtkStateFlags previous_state); static void caja_path_bar_style_updated (GtkWidget *widget); @@ -401,7 +401,7 @@ caja_path_bar_class_init (CajaPathBarClass *path_bar_class) widget_class->screen_changed = caja_path_bar_screen_changed; widget_class->grab_notify = caja_path_bar_grab_notify; - widget_class->state_changed = caja_path_bar_state_changed; + widget_class->state_flags_changed = caja_path_bar_state_flags_changed; widget_class->scroll_event = caja_path_bar_scroll; container_class->add = caja_path_bar_add; @@ -1238,8 +1238,8 @@ caja_path_bar_grab_notify (GtkWidget *widget, } static void -caja_path_bar_state_changed (GtkWidget *widget, - GtkStateType previous_state) +caja_path_bar_state_flags_changed (GtkWidget *widget, + GtkStateFlags previous_state) { if (!gtk_widget_get_sensitive (widget)) { |