[nautilus/wip/antoniof/gtk4-preparation-batch-rename-dialog: 57/63] batch-rename-dialog: Replace GtkStateType with GtkStateFlags
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/gtk4-preparation-batch-rename-dialog: 57/63] batch-rename-dialog: Replace GtkStateType with GtkStateFlags
- Date: Sat, 16 Oct 2021 15:46:22 +0000 (UTC)
commit ecdbf19ed1c0a532398f2f485d289de7658d88d6
Author: Ernestas Kulik <ernestask gnome org>
Date: Thu Jul 5 13:23:00 2018 +0300
batch-rename-dialog: Replace GtkStateType with GtkStateFlags
The former has been deprecated since 3.14.
src/nautilus-batch-rename-dialog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-batch-rename-dialog.c b/src/nautilus-batch-rename-dialog.c
index 5f3040497..84897eae3 100644
--- a/src/nautilus-batch-rename-dialog.c
+++ b/src/nautilus-batch-rename-dialog.c
@@ -1555,11 +1555,11 @@ update_row_shadowing (GtkWidget *row,
if (shown)
{
- flags |= GTK_STATE_PRELIGHT;
+ flags |= GTK_STATE_FLAG_PRELIGHT;
}
else
{
- flags &= ~GTK_STATE_PRELIGHT;
+ flags &= ~GTK_STATE_FLAG_PRELIGHT;
}
gtk_style_context_set_state (context, flags);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]