mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 10:08:56 +01:00 
			
		
		
		
	gdbus-codegen: Use (skip) annotation on return values
This was discussed in bug 649657. https://bugzilla.gnome.org/show_bug.cgi?id=649657 Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
		@@ -1268,7 +1268,7 @@ class CodeGenerator:
 | 
				
			|||||||
                    ' *\n'
 | 
					                    ' *\n'
 | 
				
			||||||
                    ' * Finishes an operation started with %s_call_%s().\n'
 | 
					                    ' * Finishes an operation started with %s_call_%s().\n'
 | 
				
			||||||
                    ' *\n'
 | 
					                    ' *\n'
 | 
				
			||||||
                    ' * Returns: %%TRUE if the call succeded, %%FALSE if @error is set.\n'
 | 
					                    ' * Returns: (skip): %%TRUE if the call succeded, %%FALSE if @error is set.\n'
 | 
				
			||||||
                    %(i.name_lower, m.name_lower, i.name_lower, m.name_lower)))
 | 
					                    %(i.name_lower, m.name_lower, i.name_lower, m.name_lower)))
 | 
				
			||||||
            self.write_gtkdoc_deprecated_and_since_and_close(m, self.c, 0)
 | 
					            self.write_gtkdoc_deprecated_and_since_and_close(m, self.c, 0)
 | 
				
			||||||
            self.c.write('gboolean\n'
 | 
					            self.c.write('gboolean\n'
 | 
				
			||||||
@@ -1316,7 +1316,7 @@ class CodeGenerator:
 | 
				
			|||||||
                    ' *\n'
 | 
					                    ' *\n'
 | 
				
			||||||
                    ' * See %s_call_%s() for the asynchronous version of this method.\n'
 | 
					                    ' * See %s_call_%s() for the asynchronous version of this method.\n'
 | 
				
			||||||
                    ' *\n'
 | 
					                    ' *\n'
 | 
				
			||||||
                    ' * Returns: %%TRUE if the call succeded, %%FALSE if @error is set.\n'
 | 
					                    ' * Returns: (skip): %%TRUE if the call succeded, %%FALSE if @error is set.\n'
 | 
				
			||||||
                    %(i.name, m.name, i.name_lower, m.name_lower)))
 | 
					                    %(i.name, m.name, i.name_lower, m.name_lower)))
 | 
				
			||||||
            self.write_gtkdoc_deprecated_and_since_and_close(m, self.c, 0)
 | 
					            self.write_gtkdoc_deprecated_and_since_and_close(m, self.c, 0)
 | 
				
			||||||
            self.c.write('gboolean\n'
 | 
					            self.c.write('gboolean\n'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user