Commit 02f35b9d authored by Rico Tzschichholz's avatar Rico Tzschichholz Committed by Sébastien Wilmet

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

Fixes #58

See also:
https://bugzilla.gnome.org/show_bug.cgi?id=795920
parent e8699d26
......@@ -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;
}
......
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