diff options
Diffstat (limited to 'src/deamon.vala')
-rw-r--r-- | src/deamon.vala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/deamon.vala b/src/deamon.vala index b622028..2424f8f 100644 --- a/src/deamon.vala +++ b/src/deamon.vala @@ -36,7 +36,7 @@ public class Deamon : GLib.Object { ///////////////////////////////////////////////////////////////////// public static int main(string[] args) { - version = "0.5.1"; + version = "0.5.2"; Logger.init(); Gdk.threads_init(); @@ -148,6 +148,8 @@ public class Deamon : GLib.Object { return Unique.Response.PASSTHROUGH; }); + Gdk.threads_enter(); + // init locale support Intl.bindtextdomain ("gnomepie", Paths.locales); Intl.textdomain ("gnomepie"); @@ -174,6 +176,8 @@ public class Deamon : GLib.Object { if (open_pie != null) PieManager.open_pie(open_pie); Gtk.main(); + + Gdk.threads_leave(); } ///////////////////////////////////////////////////////////////////// |