[Pkg-cli-apps-commits] [gnome-do] 01/01: Correctly call Gdk.Threads.Enter() before entering the GTK mainloop.

Christopher Halse Rogers raof-guest at moszumanska.debian.org
Wed Aug 20 01:07:01 UTC 2014


This is an automated email from the git hooks/post-receive script.

raof-guest pushed a commit to branch master
in repository gnome-do.

commit 7cb4f1c48223c83c3747b87110fd9842c472fabb
Author: Christopher James Halse Rogers <raof at ubuntu.com>
Date:   Wed Aug 20 11:01:13 2014 +1000

    Correctly call Gdk.Threads.Enter() before entering the GTK mainloop.
    
    LP: #1344386
---
 debian/patches/05_do_gtk_threading_correctly.diff | 12 ++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 13 insertions(+)

diff --git a/debian/patches/05_do_gtk_threading_correctly.diff b/debian/patches/05_do_gtk_threading_correctly.diff
new file mode 100644
index 0000000..5d75835
--- /dev/null
+++ b/debian/patches/05_do_gtk_threading_correctly.diff
@@ -0,0 +1,12 @@
+--- a/Do/src/Do.cs
++++ b/Do/src/Do.cs
+@@ -73,7 +73,9 @@
+ 			if (!Preferences.QuietStart)
+ 				Controller.Summon ();
+ 
++		        Gdk.Threads.Enter ();
+ 			Gtk.Application.Run ();
++			Gdk.Threads.Leave ();
+ 			
+ 			RelevanceProvider.Serialize (RelevanceProvider.DefaultProvider);
+ 		}
diff --git a/debian/patches/series b/debian/patches/series
index e7f561d..3ef86db 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 02_use_cli_for_wrapper.diff
 03_dbus_sharp_2.diff
 04_simplify_buggy_launcher_script.diff
+05_do_gtk_threading_correctly.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/gnome-do.git



More information about the Pkg-cli-apps-commits mailing list