gjs r65 - trunk/modules



Author: jobi
Date: Thu Oct 30 14:50:50 2008
New Revision: 65
URL: http://svn.gnome.org/viewvc/gjs?rev=65&view=rev

Log:
Fix thinko, g_object_reffing a GMainLoop

Modified:
   trunk/modules/mainloop.c

Modified: trunk/modules/mainloop.c
==============================================================================
--- trunk/modules/mainloop.c	(original)
+++ trunk/modules/mainloop.c	Thu Oct 30 14:50:50 2008
@@ -103,7 +103,7 @@
         main_loop = g_main_loop_new(NULL, FALSE);
         g_hash_table_replace(pending_main_loops, g_strdup(cancel_id), main_loop);
     } else {
-        g_object_ref(main_loop);
+        g_main_loop_ref(main_loop);
     }
 
     gjs_debug(GJS_DEBUG_MAINLOOP,



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