[gnome-latex/wip/compile-against-newer-valac: 1/2] LaTeX commands: fix compilation error with valac >= 0.42
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-latex/wip/compile-against-newer-valac: 1/2] LaTeX commands: fix compilation error with valac >= 0.42
- Date: Fri, 6 Dec 2019 13:51:37 +0000 (UTC)
commit 9e12cdc0a24e8d282d57c1b95560b0ebcdb72bd6
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Dec 6 14:35:38 2019 +0100
LaTeX commands: fix compilation error with valac >= 0.42
This reverts commit f24c864519e6e7108a4b56574278c67b79f6679d.
src/latex_menu.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/latex_menu.vala b/src/latex_menu.vala
index f965d23..4480dc8 100644
--- a/src/latex_menu.vala
+++ b/src/latex_menu.vala
@@ -500,7 +500,7 @@ public class LatexMenu : Gtk.ActionGroup
private Gtk.Action get_menu_tool_action (string name, string? label, string? icon_name)
{
Gtk.Action action = new MenuToolAction (name, label, label, icon_name);
- Activatable menu_tool_button = (Activatable) new MenuToolButton (null, null);
+ MenuToolButton menu_tool_button = new MenuToolButton (null, null);
menu_tool_button.set_related_action (action);
return action;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]