summaryrefslogtreecommitdiff
path: root/src/deamon.vala
diff options
context:
space:
mode:
authorAlessandro Ghedini <al3xbio@gmail.com>2012-03-19 16:35:30 +0100
committerAlessandro Ghedini <al3xbio@gmail.com>2012-03-19 16:35:30 +0100
commita248b1597394b4ee9a5817bc95c3c116e76cdd8f (patch)
tree338596cb8c179435c51b8954adb933462c54a5d6 /src/deamon.vala
parent662bede321e96bef873eadb7882dbcad5f68ba95 (diff)
Imported Upstream version 0.5.2
Diffstat (limited to 'src/deamon.vala')
-rw-r--r--src/deamon.vala6
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();
}
/////////////////////////////////////////////////////////////////////