[evince] shell: Fix cast on gtk_menu



commit 91a033c8ebb5c503f4d750b47a831832f9e80467
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Thu May 21 22:22:55 2020 -0400

    shell: Fix cast on gtk_menu

 shell/ev-sidebar-links.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c
index 628e68c9..8780ec52 100644
--- a/shell/ev-sidebar-links.c
+++ b/shell/ev-sidebar-links.c
@@ -342,7 +342,7 @@ build_popup_menu (EvSidebarLinks *sidebar)
        gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
        g_signal_connect (item, "activate",
                          G_CALLBACK (print_section_cb), sidebar);
-       gtk_menu_attach_to_widget (menu, sidebar->priv->tree_view, NULL);
+       gtk_menu_attach_to_widget (GTK_MENU (menu), sidebar->priv->tree_view, NULL);
 
        return GTK_MENU (menu);
 }


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