mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	dbus-protocol: Split some overly long lines.
This commit is contained in:
		
							parent
							
								
									76bd03bddb
								
							
						
					
					
						commit
						7699cfd4c0
					
				
					 1 changed files with 9 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -199,7 +199,8 @@ static void update_introspection(struct object_entry *oe) {
 | 
			
		|||
            pa_strbuf_printf(buf, "  <method name=\"%s\">\n", method_handler->method_name);
 | 
			
		||||
 | 
			
		||||
            for (i = 0; i < method_handler->n_arguments; ++i)
 | 
			
		||||
                pa_strbuf_printf(buf, "   <arg name=\"%s\" type=\"%s\" direction=\"%s\"/>\n", method_handler->arguments[i].name,
 | 
			
		||||
                pa_strbuf_printf(buf, "   <arg name=\"%s\" type=\"%s\" direction=\"%s\"/>\n",
 | 
			
		||||
                                 method_handler->arguments[i].name,
 | 
			
		||||
                                 method_handler->arguments[i].type,
 | 
			
		||||
                                 method_handler->arguments[i].direction);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -208,8 +209,9 @@ static void update_introspection(struct object_entry *oe) {
 | 
			
		|||
 | 
			
		||||
        handlers_state = NULL;
 | 
			
		||||
 | 
			
		||||
        while ((property_handler = pa_hashmap_iterate(iface_entry->property_handlers, &handlers_state, NULL)))
 | 
			
		||||
            pa_strbuf_printf(buf, "  <property name=\"%s\" type=\"%s\" access=\"%s\"/>\n", property_handler->property_name,
 | 
			
		||||
        PA_HASHMAP_FOREACH(property_handler, iface_entry->property_handlers, handlers_state)
 | 
			
		||||
            pa_strbuf_printf(buf, "  <property name=\"%s\" type=\"%s\" access=\"%s\"/>\n",
 | 
			
		||||
                             property_handler->property_name,
 | 
			
		||||
                             property_handler->type,
 | 
			
		||||
                             property_handler->get_cb ? (property_handler->set_cb ? "readwrite" : "read") : "write");
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue