mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +01:00 
			
		
		
		
	Disambiguate source names
This makes debugging more pleasant.
This commit is contained in:
		@@ -4901,7 +4901,7 @@ schedule_method_call (GDBusConnection            *connection,
 | 
				
			|||||||
                         call_in_idle_cb,
 | 
					                         call_in_idle_cb,
 | 
				
			||||||
                         invocation,
 | 
					                         invocation,
 | 
				
			||||||
                         g_object_unref);
 | 
					                         g_object_unref);
 | 
				
			||||||
  g_source_set_name (idle_source, "[gio] call_in_idle_cb");
 | 
					  g_source_set_name (idle_source, "[gio, " __FILE__ "] call_in_idle_cb");
 | 
				
			||||||
  g_source_attach (idle_source, main_context);
 | 
					  g_source_attach (idle_source, main_context);
 | 
				
			||||||
  g_source_unref (idle_source);
 | 
					  g_source_unref (idle_source);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -197,7 +197,7 @@ schedule_call_in_idle (Client *client, CallType  call_type)
 | 
				
			|||||||
                         call_in_idle_cb,
 | 
					                         call_in_idle_cb,
 | 
				
			||||||
                         data,
 | 
					                         data,
 | 
				
			||||||
                         (GDestroyNotify) call_handler_data_free);
 | 
					                         (GDestroyNotify) call_handler_data_free);
 | 
				
			||||||
  g_source_set_name (idle_source, "[gio] call_in_idle_cb");
 | 
					  g_source_set_name (idle_source, "[gio, gdbusnameowning.c] call_in_idle_cb");
 | 
				
			||||||
  g_source_attach (idle_source, client->main_context);
 | 
					  g_source_attach (idle_source, client->main_context);
 | 
				
			||||||
  g_source_unref (idle_source);
 | 
					  g_source_unref (idle_source);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -201,7 +201,7 @@ schedule_call_in_idle (Client *client, CallType call_type)
 | 
				
			|||||||
                         call_in_idle_cb,
 | 
					                         call_in_idle_cb,
 | 
				
			||||||
                         data,
 | 
					                         data,
 | 
				
			||||||
                         (GDestroyNotify) call_handler_data_free);
 | 
					                         (GDestroyNotify) call_handler_data_free);
 | 
				
			||||||
  g_source_set_name (idle_source, "[gio] call_in_idle_cb");
 | 
					  g_source_set_name (idle_source, "[gio, gdbusnamewatching.c] call_in_idle_cb");
 | 
				
			||||||
  g_source_attach (idle_source, client->main_context);
 | 
					  g_source_attach (idle_source, client->main_context);
 | 
				
			||||||
  g_source_unref (idle_source);
 | 
					  g_source_unref (idle_source);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user