[glib: 4/12] doc: Add some empty lines to unbreak gtkdoc



commit 5c9af3c75c3596b414689c67e5552c4f3458f8ee
Author: Xavier Claessens <xavier claessens collabora com>
Date:   Tue Jul 9 09:07:48 2019 -0400

    doc: Add some empty lines to unbreak gtkdoc
    
    For some reason gtkdoc thinks g_test_trap_fork() is undefined, unless
    some more spacing is added.

 gio/gasyncinitable.h | 2 ++
 gio/ginitable.h      | 2 ++
 glib/gtestutils.h    | 2 ++
 gobject/gobject.h    | 2 ++
 4 files changed, 8 insertions(+)
---
diff --git a/gio/gasyncinitable.h b/gio/gasyncinitable.h
index 1c713a13f..f30d2cec7 100644
--- a/gio/gasyncinitable.h
+++ b/gio/gasyncinitable.h
@@ -97,6 +97,7 @@ void     g_async_initable_new_async        (GType                 object_type,
                                            ...);
 
 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
 GLIB_DEPRECATED_IN_2_54_FOR(g_object_new_with_properties and g_async_initable_init_async)
 void     g_async_initable_newv_async       (GType                 object_type,
                                            guint                 n_parameters,
@@ -105,6 +106,7 @@ void     g_async_initable_newv_async       (GType                 object_type,
                                            GCancellable         *cancellable,
                                            GAsyncReadyCallback   callback,
                                            gpointer              user_data);
+
 G_GNUC_END_IGNORE_DEPRECATIONS
 
 GLIB_AVAILABLE_IN_ALL
diff --git a/gio/ginitable.h b/gio/ginitable.h
index 3124f028f..463bfcc5a 100644
--- a/gio/ginitable.h
+++ b/gio/ginitable.h
@@ -82,12 +82,14 @@ gpointer g_initable_new        (GType          object_type,
                                ...);
 
 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
 GLIB_DEPRECATED_IN_2_54_FOR(g_object_new_with_properties and g_initable_init)
 gpointer g_initable_newv       (GType          object_type,
                                guint          n_parameters,
                                GParameter    *parameters,
                                GCancellable  *cancellable,
                                GError       **error);
+
 G_GNUC_END_IGNORE_DEPRECATIONS
 
 GLIB_AVAILABLE_IN_ALL
diff --git a/glib/gtestutils.h b/glib/gtestutils.h
index 114d0554b..26de21216 100644
--- a/glib/gtestutils.h
+++ b/glib/gtestutils.h
@@ -367,9 +367,11 @@ typedef enum {
 } GTestTrapFlags GLIB_DEPRECATED_TYPE_IN_2_38_FOR(GTestSubprocessFlags);
 
 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
 GLIB_DEPRECATED_IN_2_38_FOR (g_test_trap_subprocess)
 gboolean g_test_trap_fork               (guint64              usec_timeout,
                                          GTestTrapFlags       test_trap_flags);
+
 G_GNUC_END_IGNORE_DEPRECATIONS
 
 typedef enum {
diff --git a/gobject/gobject.h b/gobject/gobject.h
index 5f5c2a944..12e0882c6 100644
--- a/gobject/gobject.h
+++ b/gobject/gobject.h
@@ -426,10 +426,12 @@ GObject*    g_object_new_with_properties      (GType           object_type,
                                                const GValue    values[]);
 
 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
 GLIB_DEPRECATED_IN_2_54_FOR(g_object_new_with_properties)
 gpointer    g_object_newv                    (GType           object_type,
                                               guint           n_parameters,
                                               GParameter     *parameters);
+
 G_GNUC_END_IGNORE_DEPRECATIONS
 
 GLIB_AVAILABLE_IN_ALL


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