[gnome-software] trivial: Remove some dead code that's never going to be used



commit 94c582215df818b6ff8fd6b0c2d88f6f1af19138
Author: Richard Hughes <richard hughsie com>
Date:   Tue Apr 8 11:55:33 2014 +0100

    trivial: Remove some dead code that's never going to be used

 src/plugins/gs-plugin-packagekit.c |   37 ------------------------------------
 1 files changed, 0 insertions(+), 37 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit.c b/src/plugins/gs-plugin-packagekit.c
index 85cdc0d..6d2d20e 100644
--- a/src/plugins/gs-plugin-packagekit.c
+++ b/src/plugins/gs-plugin-packagekit.c
@@ -557,40 +557,3 @@ out:
                g_object_unref (results);
        return ret;
 }
-
-#if 0
-/**
- * gs_plugin_add_categories:
- */
-gboolean
-gs_plugin_add_categories (GsPlugin *plugin,
-                         GList **list,
-                         GCancellable *cancellable,
-                         GError **error)
-{
-       GsCategory *category;
-
-       /* TRANSLATORS: these are extra things that add to existing programs,
-        * for instance fonts, codecs or language packs */
-       category = gs_category_new (NULL, "PK::add-ons", _("Add-ons"));
-       gs_category_add_subcategory (category, gs_category_new (category,
-                                                               "PK::codecs",
-                                                               /* TRANSLATORS: audio/video decoders */
-                                                               _("Codecs")));
-       gs_category_add_subcategory (category, gs_category_new (category,
-                                                               "PK::fonts",
-                                                               /* TRANSLATORS: fonts of different styles or 
languages */
-                                                               _("Fonts")));
-       gs_category_add_subcategory (category, gs_category_new (category,
-                                                               "PK::inputs",
-                                                               /* TRANSLATORS: these are ways to enter text 
*/
-                                                               _("Input Sources")));
-       gs_category_add_subcategory (category, gs_category_new (category,
-                                                               "PK::languages",
-                                                               /* TRANSLATORS: additional languages for apps 
*/
-                                                               _("Language Packs")));
-       *list = g_list_prepend (*list, category);
-
-       return TRUE;
-}
-#endif


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