summaryrefslogtreecommitdiff
path: root/src/deamon.vala
diff options
context:
space:
mode:
authorAlessandro Ghedini <al3xbio@gmail.com>2012-03-19 16:35:31 +0100
committerAlessandro Ghedini <al3xbio@gmail.com>2012-03-19 16:35:31 +0100
commit29a84e1125d507fcaf5d0cb39148ccaaa2d7ae58 (patch)
tree7d1c8e1c1b1d89af3a962671f60a422aa62af890 /src/deamon.vala
parent178b4f90e26d6240aeaf5e455e4e78b3f4883bba (diff)
parenta248b1597394b4ee9a5817bc95c3c116e76cdd8f (diff)
Merge tag 'upstream/0.5.2'
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();
}
/////////////////////////////////////////////////////////////////////