rygel r596 - trunk/src/plugins/tracker
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r596 - trunk/src/plugins/tracker
- Date: Sat, 14 Feb 2009 15:33:10 +0000 (UTC)
Author: zeeshanak
Date: Sat Feb 14 15:33:10 2009
New Revision: 596
URL: http://svn.gnome.org/viewvc/rygel?rev=596&view=rev
Log:
Add complete_in_idle to TrackerSearchResult.
Modified:
trunk/src/plugins/tracker/rygel-tracker-search-result.vala
Modified: trunk/src/plugins/tracker/rygel-tracker-search-result.vala
==============================================================================
--- trunk/src/plugins/tracker/rygel-tracker-search-result.vala (original)
+++ trunk/src/plugins/tracker/rygel-tracker-search-result.vala Sat Feb 14 15:33:10 2009
@@ -110,5 +110,15 @@
public void complete () {
this.callback (this.source_object, this);
}
+
+ public void complete_in_idle () {
+ Idle.add_full (Priority.DEFAULT, idle_func);
+ }
+
+ private bool idle_func () {
+ this.complete ();
+
+ return false;
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]