Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiTerm: Add support for GTK3 #95

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
4 changes: 3 additions & 1 deletion multiterm/src/plugin.vala
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public Data geany_data;
public Functions geany_functions;

/* Widgets to clean up when the plugin is unloaded */
private List<Widget> toplevel_widgets = new List<Widget>();
private List<Widget> toplevel_widgets = null;

/* Geany calls this to determine min. required API/ABI version */
public int plugin_version_check(int abi_version)
Expand All @@ -53,6 +53,8 @@ public void plugin_init(Geany.Data data)
Alignment align;
MultiTerm.Notebook notebook;

toplevel_widgets = new List<Widget>();
lpaulsen93 marked this conversation as resolved.
Show resolved Hide resolved

/* Needed for GObject type system not to freak out about
* unregistering and re-registering new types */
geany_plugin.module_make_resident();
Expand Down