Commit f24c8645 authored by Sébastien Wilmet's avatar Sébastien Wilmet

Revert "LaTeX commands: Avoid superfluous and fatal cast to Gtk.Activatable"

This reverts commit 02f35b9d.

I've discovered more crashes when gnome-latex is compiled with valac git
master (what will become vala 0.42). I don't plan to work on gnome-latex
anytime soon, so in the meantime gnome-latex will need to be compiled
with vala 0.40. With this revert the nice thing is that gnome-latex
cannot be compiled with vala git master, but can be compiled with vala
parent 02f9e11c
......@@ -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);
MenuToolButton menu_tool_button = new MenuToolButton (null, null);
Activatable menu_tool_button = (Activatable) new MenuToolButton (null, null);
menu_tool_button.set_related_action (action);
return action;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment