Remove warnings.
This commit is contained in:
parent
6b356780d8
commit
04afb5d398
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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; }
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue