1
0
Fork 0

Remove warnings.

This commit is contained in:
Kolan Sh 2018-06-20 15:10:35 +03:00
parent 6b356780d8
commit 04afb5d398
3 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
namespace LAview.ObjectExample { namespace LAview.ObjectExample {
using Gtk, LAview; using Gtk, LAview;
class MainDialog : Object { public class MainDialog : Object {
Dialog dialog; Dialog dialog;
PreferencesDialog preferences_dialog; PreferencesDialog preferences_dialog;

View File

@ -1,7 +1,7 @@
namespace LAview.ObjectExample { namespace LAview.ObjectExample {
using Gtk, LAview; using Gtk, LAview;
class PreferencesDialog : GLib.Object { public class PreferencesDialog : GLib.Object {
Dialog dialog; Dialog dialog;
public bool apply { get; private set; default = false; } public bool apply { get; private set; default = false; }

View File

@ -30,6 +30,7 @@ namespace LAview.ObjectExample {
*/ */
~Plugin () { ~Plugin () {
stdout.puts ("ObjectExample.Plugin deinit () called\n"); stdout.puts ("ObjectExample.Plugin deinit () called\n");
AppDirs.terminate();
} }
/** /**
@ -104,7 +105,7 @@ namespace LAview.ObjectExample {
} }
[ModuleInit] [ModuleInit]
Type plugin_init (GLib.TypeModule type_module) { public Type plugin_init (GLib.TypeModule type_module) {
stdout.puts ("---ModuleInit called()---\n"); stdout.puts ("---ModuleInit called()---\n");
return typeof (LAview.ObjectExample.Plugin); return typeof (LAview.ObjectExample.Plugin);
} }