diff options
Diffstat (limited to 'libappstream-builder/plugins')
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-absorb.c | 12 | ||||
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-appdata.c | 21 | ||||
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-desktop.c | 18 | ||||
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-font.c | 45 | ||||
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-gettext.c | 9 | ||||
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-hardcoded.c | 9 | ||||
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-shell-extension.c | 21 |
7 files changed, 0 insertions, 135 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-absorb.c b/libappstream-builder/plugins/asb-plugin-absorb.c index 490966e..1abb4a9 100644 --- a/libappstream-builder/plugins/asb-plugin-absorb.c +++ b/libappstream-builder/plugins/asb-plugin-absorb.c @@ -24,18 +24,12 @@ #include <asb-plugin.h> #include <fnmatch.h> -/** - * asb_plugin_get_name: - */ const gchar * asb_plugin_get_name (void) { return "absorb"; } -/** - * asb_plugin_absorb_parent_for_pkgname: - */ static void asb_plugin_absorb_parent_for_pkgname (GList *list, AsApp *parent, const gchar *pkgname) { @@ -60,9 +54,6 @@ asb_plugin_absorb_parent_for_pkgname (GList *list, AsApp *parent, const gchar *p } } -/** - * asb_plugin_merge_prepare_deps: - */ static void asb_plugin_merge_prepare_deps (GList *list) { @@ -83,9 +74,6 @@ asb_plugin_merge_prepare_deps (GList *list) } } -/** - * asb_plugin_merge: - */ void asb_plugin_merge (AsbPlugin *plugin, GList *list) { diff --git a/libappstream-builder/plugins/asb-plugin-appdata.c b/libappstream-builder/plugins/asb-plugin-appdata.c index 3d852fd..c509fba 100644 --- a/libappstream-builder/plugins/asb-plugin-appdata.c +++ b/libappstream-builder/plugins/asb-plugin-appdata.c @@ -24,18 +24,12 @@ #include <asb-plugin.h> -/** - * asb_plugin_get_name: - */ const gchar * asb_plugin_get_name (void) { return "appdata"; } -/** - * asb_plugin_add_globs: - */ void asb_plugin_add_globs (AsbPlugin *plugin, GPtrArray *globs) { @@ -43,9 +37,6 @@ asb_plugin_add_globs (AsbPlugin *plugin, GPtrArray *globs) asb_plugin_add_glob (globs, "/usr/share/appdata/*.appdata.xml"); } -/** - * _asb_plugin_check_filename: - */ static gboolean _asb_plugin_check_filename (const gchar *filename) { @@ -56,18 +47,12 @@ _asb_plugin_check_filename (const gchar *filename) return FALSE; } -/** - * asb_plugin_check_filename: - */ gboolean asb_plugin_check_filename (AsbPlugin *plugin, const gchar *filename) { return _asb_plugin_check_filename (filename); } -/** - * asb_plugin_process_filename: - */ static gboolean asb_plugin_process_filename (AsbPlugin *plugin, AsbPackage *pkg, @@ -204,9 +189,6 @@ asb_plugin_process_filename (AsbPlugin *plugin, return TRUE; } -/** - * asb_plugin_process: - */ GList * asb_plugin_process (AsbPlugin *plugin, AsbPackage *pkg, @@ -247,9 +229,6 @@ asb_plugin_process (AsbPlugin *plugin, return apps; } -/** - * asb_plugin_merge: - */ void asb_plugin_merge (AsbPlugin *plugin, GList *list) { diff --git a/libappstream-builder/plugins/asb-plugin-desktop.c b/libappstream-builder/plugins/asb-plugin-desktop.c index f15eb40..3481340 100644 --- a/libappstream-builder/plugins/asb-plugin-desktop.c +++ b/libappstream-builder/plugins/asb-plugin-desktop.c @@ -30,18 +30,12 @@ #include <as-utils-private.h> #include <as-app-private.h> -/** - * asb_plugin_get_name: - */ const gchar * asb_plugin_get_name (void) { return "desktop"; } -/** - * asb_plugin_add_globs: - */ void asb_plugin_add_globs (AsbPlugin *plugin, GPtrArray *globs) { @@ -52,9 +46,6 @@ asb_plugin_add_globs (AsbPlugin *plugin, GPtrArray *globs) asb_plugin_add_glob (globs, "/usr/share/*/icons/*"); } -/** - * asb_app_load_icon: - */ static GdkPixbuf * asb_app_load_icon (AsbPlugin *plugin, const gchar *filename, @@ -88,9 +79,6 @@ asb_app_load_icon (AsbPlugin *plugin, return g_object_ref (as_image_get_pixbuf (im)); } -/** - * asb_plugin_desktop_add_icons: - */ static gboolean asb_plugin_desktop_add_icons (AsbPlugin *plugin, AsbApp *app, @@ -177,9 +165,6 @@ asb_plugin_desktop_add_icons (AsbPlugin *plugin, return TRUE; } -/** - * asb_plugin_desktop_refine: - */ static gboolean asb_plugin_desktop_refine (AsbPlugin *plugin, AsbPackage *pkg, @@ -234,9 +219,6 @@ asb_plugin_desktop_refine (AsbPlugin *plugin, return TRUE; } -/** - * asb_plugin_process_app: - */ gboolean asb_plugin_process_app (AsbPlugin *plugin, AsbPackage *pkg, diff --git a/libappstream-builder/plugins/asb-plugin-font.c b/libappstream-builder/plugins/asb-plugin-font.c index 08cff59..affd096 100644 --- a/libappstream-builder/plugins/asb-plugin-font.c +++ b/libappstream-builder/plugins/asb-plugin-font.c @@ -38,18 +38,12 @@ #define __APPSTREAM_GLIB_PRIVATE_H #include <as-app-private.h> -/** - * asb_plugin_get_name: - */ const gchar * asb_plugin_get_name (void) { return "font"; } -/** - * asb_plugin_add_globs: - */ void asb_plugin_add_globs (AsbPlugin *plugin, GPtrArray *globs) { @@ -57,9 +51,6 @@ asb_plugin_add_globs (AsbPlugin *plugin, GPtrArray *globs) asb_plugin_add_glob (globs, "/usr/share/fonts/*/*.ttf"); } -/** - * _asb_plugin_check_filename: - */ static gboolean _asb_plugin_check_filename (const gchar *filename) { @@ -70,9 +61,6 @@ _asb_plugin_check_filename (const gchar *filename) return FALSE; } -/** - * asb_font_fix_metadata: - */ static void asb_font_fix_metadata (AsbApp *app) { @@ -228,9 +216,6 @@ asb_font_fix_metadata (AsbApp *app) } } -/** - * asb_font_string_is_valid: - */ static gboolean asb_font_string_is_valid (const gchar *text) { @@ -245,9 +230,6 @@ asb_font_string_is_valid (const gchar *text) return TRUE; } -/** - * asb_font_add_metadata: - */ static void asb_font_add_metadata (AsbApp *app, FT_Face ft_face) { @@ -295,9 +277,6 @@ asb_font_add_metadata (AsbApp *app, FT_Face ft_face) } } -/** - * asb_font_is_pixbuf_empty: - */ static gboolean asb_font_is_pixbuf_empty (const GdkPixbuf *pixbuf) { @@ -325,9 +304,6 @@ asb_font_is_pixbuf_empty (const GdkPixbuf *pixbuf) return TRUE; } -/** - * asb_font_get_pixbuf: - */ static GdkPixbuf * asb_font_get_pixbuf (FT_Face ft_face, guint width, @@ -381,9 +357,6 @@ asb_font_get_pixbuf (FT_Face ft_face, return pixbuf; } -/** - * asb_font_get_caption: - */ static gchar * asb_font_get_caption (AsbApp *app) { @@ -401,9 +374,6 @@ asb_font_get_caption (AsbApp *app) return g_strdup_printf ("%s – %s", family, subfamily); } -/** - * asb_font_add_screenshot: - */ static gboolean asb_font_add_screenshot (AsbPlugin *plugin, AsbApp *app, FT_Face ft_face, const gchar *cache_id, GError **error) @@ -536,9 +506,6 @@ asb_font_add_screenshot (AsbPlugin *plugin, AsbApp *app, FT_Face ft_face, return TRUE; } -/** - * asb_font_add_languages: - */ static void asb_font_add_languages (AsbApp *app, const FcPattern *pattern) { @@ -572,9 +539,6 @@ asb_font_add_languages (AsbApp *app, const FcPattern *pattern) as_app_add_language (AS_APP (app), 0, "en"); } -/** - * asb_plugin_font_set_name: - */ static void asb_plugin_font_set_name (AsbApp *app, const gchar *name) { @@ -608,9 +572,6 @@ asb_plugin_font_set_name (AsbApp *app, const gchar *name) as_app_set_name (AS_APP (app), "C", ptr); } -/** - * asb_plugin_font_app: - */ static gboolean asb_plugin_font_app (AsbPlugin *plugin, AsbApp *app, const gchar *filename, GError **error) @@ -737,9 +698,6 @@ out: return ret; } -/** - * asb_plugin_process_app: - */ gboolean asb_plugin_process_app (AsbPlugin *plugin, AsbPackage *pkg, @@ -770,9 +728,6 @@ asb_plugin_process_app (AsbPlugin *plugin, return TRUE; } -/** - * asb_plugin_merge: - */ void asb_plugin_merge (AsbPlugin *plugin, GList *list) { diff --git a/libappstream-builder/plugins/asb-plugin-gettext.c b/libappstream-builder/plugins/asb-plugin-gettext.c index bb035bc..e1e247e 100644 --- a/libappstream-builder/plugins/asb-plugin-gettext.c +++ b/libappstream-builder/plugins/asb-plugin-gettext.c @@ -23,18 +23,12 @@ #include <asb-plugin.h> -/** - * asb_plugin_get_name: - */ const gchar * asb_plugin_get_name (void) { return "gettext"; } -/** - * asb_plugin_add_globs: - */ void asb_plugin_add_globs (AsbPlugin *plugin, GPtrArray *globs) { @@ -42,9 +36,6 @@ asb_plugin_add_globs (AsbPlugin *plugin, GPtrArray *globs) asb_plugin_add_glob (globs, "/usr/share/*/translations/*.qm"); } -/** - * asb_plugin_process_app: - */ gboolean asb_plugin_process_app (AsbPlugin *plugin, AsbPackage *pkg, diff --git a/libappstream-builder/plugins/asb-plugin-hardcoded.c b/libappstream-builder/plugins/asb-plugin-hardcoded.c index 25334f1..2705108 100644 --- a/libappstream-builder/plugins/asb-plugin-hardcoded.c +++ b/libappstream-builder/plugins/asb-plugin-hardcoded.c @@ -23,18 +23,12 @@ #include <asb-plugin.h> -/** - * asb_plugin_get_name: - */ const gchar * asb_plugin_get_name (void) { return "hardcoded"; } -/** - * asb_plugin_add_globs: - */ void asb_plugin_add_globs (AsbPlugin *plugin, GPtrArray *globs) { @@ -44,9 +38,6 @@ asb_plugin_add_globs (AsbPlugin *plugin, GPtrArray *globs) asb_plugin_add_glob (globs, "/usr/share/dbus-1/services/*.service"); } -/** - * asb_plugin_process_app: - */ gboolean asb_plugin_process_app (AsbPlugin *plugin, AsbPackage *pkg, diff --git a/libappstream-builder/plugins/asb-plugin-shell-extension.c b/libappstream-builder/plugins/asb-plugin-shell-extension.c index e86ba30..b5282ea 100644 --- a/libappstream-builder/plugins/asb-plugin-shell-extension.c +++ b/libappstream-builder/plugins/asb-plugin-shell-extension.c @@ -25,27 +25,18 @@ #include <asb-plugin.h> -/** - * asb_plugin_get_name: - */ const gchar * asb_plugin_get_name (void) { return "shell-extension"; } -/** - * asb_plugin_add_globs: - */ void asb_plugin_add_globs (AsbPlugin *plugin, GPtrArray *globs) { asb_plugin_add_glob (globs, "/usr/share/gnome-shell/extensions/*/metadata.json"); } -/** - * _asb_plugin_check_filename: - */ static gboolean _asb_plugin_check_filename (const gchar *filename) { @@ -54,18 +45,12 @@ _asb_plugin_check_filename (const gchar *filename) return FALSE; } -/** - * asb_plugin_check_filename: - */ gboolean asb_plugin_check_filename (AsbPlugin *plugin, const gchar *filename) { return _asb_plugin_check_filename (filename); } -/** - * as_app_parse_shell_extension_data: - */ static gboolean as_app_parse_shell_extension_data (AsApp *app, const gchar *data, @@ -170,9 +155,6 @@ as_app_parse_shell_extension_data (AsApp *app, return TRUE; } -/** - * asb_plugin_process_filename: - */ static gboolean asb_plugin_process_filename (AsbPlugin *plugin, AsbPackage *pkg, @@ -193,9 +175,6 @@ asb_plugin_process_filename (AsbPlugin *plugin, return TRUE; } -/** - * asb_plugin_process: - */ GList * asb_plugin_process (AsbPlugin *plugin, AsbPackage *pkg, |