mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 00:12:19 +01:00 
			
		
		
		
	GDBus: Use thread-default GMainContext in _g_assert_property_notify + friends
Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
		| @@ -60,7 +60,7 @@ _g_assert_property_notify_run (gpointer     object, | ||||
|   guint timeout_id; | ||||
|   PropertyNotifyData data; | ||||
|  | ||||
|   data.loop = g_main_loop_new (NULL, FALSE); | ||||
|   data.loop = g_main_loop_new (g_main_context_get_thread_default (), FALSE); | ||||
|   data.timed_out = FALSE; | ||||
|   s = g_strdup_printf ("notify::%s", property_name); | ||||
|   handler_id = g_signal_connect (object, | ||||
| @@ -111,7 +111,7 @@ _g_assert_signal_received_run (gpointer     object, | ||||
|   guint timeout_id; | ||||
|   SignalReceivedData data; | ||||
|  | ||||
|   data.loop = g_main_loop_new (NULL, FALSE); | ||||
|   data.loop = g_main_loop_new (g_main_context_get_thread_default (), FALSE); | ||||
|   data.timed_out = FALSE; | ||||
|   handler_id = g_signal_connect_swapped (object, | ||||
|                                          signal_name, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user