[nautilus/wip/antoniof/gtk4-preparation-batch-rename-dialog: 1/5] batch-rename-dialog: Replace GtkStateType with GtkStateFlags




commit a67b7e95437e3d63351df3def5220c78a94f778e
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]