[epiphany/wip/exalm/tabs] Fix a warning



commit 2cee5fd6acbbfd81b184fe48b4d09ad3b60df16b
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Sep 23 03:45:14 2020 +0500

    Fix a warning

 src/ephy-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index e681a416b..74b97b322 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2615,7 +2615,7 @@ tab_view_setup_menu_cb (HdyTabView *tab_view,
                                        "mute");
   g_simple_action_set_enabled (G_SIMPLE_ACTION (action), !page || audio_playing);
   g_simple_action_set_state (G_SIMPLE_ACTION (action),
-                             g_variant_new_boolean (muted));
+                             g_variant_new_boolean (!page || muted));
 
   action = g_action_map_lookup_action (G_ACTION_MAP (action_group),
                                        "close");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]