[librsvg: 5/23] Remove comment block with duplicated section name




commit a89fd3f7a8636a8163a41209508431aca4d578fc
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Jan 6 12:51:51 2022 -0600

    Remove comment block with duplicated section name
    
    In turning this:
    
    /**
     * SECTION: rsvg-handle
     * @short_description: Loads SVG data into memory.
     *
     * This is the main entry point into the librsvg library.  An RsvgHandle is an
     ...
    
    Into this:
    
    /**
     * RsvgHandle:
     *
     * `RsvgHandle` loads an SVG document into memory.
     *
     * This is the main entry point into the librsvg library.  An `RsvgHandle` is an
     ...
    
    We ended up with a duplicate `RsvgHandle:` heading, since there was a
    stub description for the struct like this:
    
    /**
     * RsvgHandle:
     *
     * Lets you load SVG data and render it.
     */
    
    It appears that g-ir-scanner lets the last one win, so the .gir didn't
    end up with the long description.  See
    https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/413
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/650>

 include/librsvg/rsvg.h | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/include/librsvg/rsvg.h b/include/librsvg/rsvg.h
index 04225e407..eecc74540 100644
--- a/include/librsvg/rsvg.h
+++ b/include/librsvg/rsvg.h
@@ -375,11 +375,6 @@ struct _RsvgHandleClass {
     gpointer _abi_padding[15];
 };
 
-/**
- * RsvgHandle:
- *
- * Lets you load SVG data and render it.
- */
 struct _RsvgHandle {
     GObject parent;
 


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