[glib: 1/3] gdbus-codegen: Remove DocBook link tags from generated code



commit 9a93fd93f086dbd0c0620838e17039580e9448ee
Author: Philip Withnall <withnall endlessm com>
Date:   Mon Dec 2 16:47:44 2019 +0000

    gdbus-codegen: Remove DocBook link tags from generated code
    
    gtk-doc long since switched to Markdown, so we shouldn’t be emitting
    DocBook `<link>` tags.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    Helps: #1130

 gio/gdbus-2.0/codegen/codegen.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/gdbus-2.0/codegen/codegen.py b/gio/gdbus-2.0/codegen/codegen.py
index 3b3afe611..b60cf18dd 100644
--- a/gio/gdbus-2.0/codegen/codegen.py
+++ b/gio/gdbus-2.0/codegen/codegen.py
@@ -1670,7 +1670,7 @@ class CodeGenerator:
                     ' * @user_data: User data to pass to @callback.\n'
                     ' *\n'
                     ' * Asynchronously invokes the %s.%s() D-Bus method on @proxy.\n'
-                    ' * When the operation is finished, @callback will be invoked in the <link 
linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling 
this method from.\n'
+                    ' * When the operation is finished, @callback will be invoked in the thread-default main 
loop of the thread you are calling this method from (see g_main_context_push_thread_default()).\n'
                     ' * You can then call %s_call_%s_finish() to get the result of the operation.\n'
                     ' *\n'
                     ' * See %s_call_%s_sync() for the synchronous, blocking version of this method.\n'
@@ -2213,7 +2213,7 @@ class CodeGenerator:
                 ' *\n'
                 ' * Asynchronously creates a proxy for the D-Bus interface #%s. See g_dbus_proxy_new() for 
more details.\n'
                 ' *\n'
-                ' * When the operation is finished, @callback will be invoked in the <link 
linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling 
this method from.\n'
+                ' * When the operation is finished, @callback will be invoked in the thread-default main 
loop of the thread you are calling this method from (see g_main_context_push_thread_default()).\n'
                 ' * You can then call %s_proxy_new_finish() to get the result of the operation.\n'
                 ' *\n'
                 ' * See %s_proxy_new_sync() for the synchronous, blocking version of this constructor.\n'
@@ -2311,7 +2311,7 @@ class CodeGenerator:
                 ' *\n'
                 ' * Like %s_proxy_new() but takes a #GBusType instead of a #GDBusConnection.\n'
                 ' *\n'
-                ' * When the operation is finished, @callback will be invoked in the <link 
linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling 
this method from.\n'
+                ' * When the operation is finished, @callback will be invoked in the thread-default main 
loop of the thread you are calling this method from (see g_main_context_push_thread_default()).\n'
                 ' * You can then call %s_proxy_new_for_bus_finish() to get the result of the operation.\n'
                 ' *\n'
                 ' * See %s_proxy_new_for_bus_sync() for the synchronous, blocking version of this 
constructor.\n'
@@ -3519,7 +3519,7 @@ class CodeGenerator:
                 ' *\n'
                 ' * Asynchronously creates #GDBusObjectManagerClient using 
%sobject_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new() 
for more details.\n'
                 ' *\n'
-                ' * When the operation is finished, @callback will be invoked in the <link 
linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling 
this method from.\n'
+                ' * When the operation is finished, @callback will be invoked in the thread-default main 
loop of the thread you are calling this method from (see g_main_context_push_thread_default()).\n'
                 ' * You can then call %sobject_manager_client_new_finish() to get the result of the 
operation.\n'
                 ' *\n'
                 ' * See %sobject_manager_client_new_sync() for the synchronous, blocking version of this 
constructor.\n'
@@ -3617,7 +3617,7 @@ class CodeGenerator:
                 ' *\n'
                 ' * Like %sobject_manager_client_new() but takes a #GBusType instead of a 
#GDBusConnection.\n'
                 ' *\n'
-                ' * When the operation is finished, @callback will be invoked in the <link 
linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling 
this method from.\n'
+                ' * When the operation is finished, @callback will be invoked in the thread-default main 
loop of the thread you are calling this method from (see g_main_context_push_thread_default()).\n'
                 ' * You can then call %sobject_manager_client_new_for_bus_finish() to get the result of the 
operation.\n'
                 ' *\n'
                 ' * See %sobject_manager_client_new_for_bus_sync() for the synchronous, blocking version of 
this constructor.\n'


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