fantasdic r343 - in trunk: . lib/fantasdic/ui



Author: mblondel
Date: Tue Aug 26 18:29:36 2008
New Revision: 343
URL: http://svn.gnome.org/viewvc/fantasdic?rev=343&view=rev

Log:
    * lib/fantasdic/ui/main_app.rb (initialize): Define the mutex object before
    a search can be triggered.


Modified:
   trunk/ChangeLog
   trunk/lib/fantasdic/ui/main_app.rb

Modified: trunk/lib/fantasdic/ui/main_app.rb
==============================================================================
--- trunk/lib/fantasdic/ui/main_app.rb	(original)
+++ trunk/lib/fantasdic/ui/main_app.rb	Tue Aug 26 18:29:36 2008
@@ -46,6 +46,7 @@
             @prefs = Preferences.instance            
 
             @start_p = start_p
+            @looking_up_mutex = Mutex.new
 
             @main_app.hide
             initialize_ui
@@ -54,8 +55,6 @@
             load_preferences
             @main_app.show unless @prefs.dont_show_at_startup
 
-            @looking_up_mutex = Mutex.new
-
             lookup(@start_p) unless @start_p.empty?
         end
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]