summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-05-10 12:53:17 +0200
committerZenWalker <[email protected]>2020-05-26 13:58:36 +0200
commit3c4a8ba5a18eb34ea19bedfe994fd18728a8dee3 (patch)
treea919cf0869d410a1d9e30fac5c504d1f0d9f99a1 /src
parentf1ee07d309bb099a20abe591f8ac505652232317 (diff)
downloadcaja-3c4a8ba5a18eb34ea19bedfe994fd18728a8dee3.tar.bz2
caja-3c4a8ba5a18eb34ea19bedfe994fd18728a8dee3.tar.xz
Replace GtkStateType (GTK2 enum) with GtkStateFlags (GTK3 enum)
Diffstat (limited to 'src')
-rw-r--r--src/caja-pathbar.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/caja-pathbar.c b/src/caja-pathbar.c
index 131a8b1e..e0fb4b3b 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))
{