[epiphany/gnome-3-22] uri-tester: Remove commented code
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-22] uri-tester: Remove commented code
- Date: Sat, 17 Dec 2016 03:23:39 +0000 (UTC)
commit a97da19e6da9d9271fad96359f7c671b6d30b045
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Fri Dec 16 21:07:58 2016 -0600
uri-tester: Remove commented code
It's gone from master branch, no point in keeping it around on
gnome-3-22 either.
embed/web-extension/ephy-uri-tester.c | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/embed/web-extension/ephy-uri-tester.c b/embed/web-extension/ephy-uri-tester.c
index c2c97ab..efe58a5 100644
--- a/embed/web-extension/ephy-uri-tester.c
+++ b/embed/web-extension/ephy-uri-tester.c
@@ -269,32 +269,6 @@ ephy_uri_tester_load_filters (EphyUriTester *tester)
ephy_uri_tester_set_filters (tester, g_slist_reverse (list));
}
-#if 0
- TODO: Use this to create a filters dialog, or something.
-
-static void
-ephy_uri_tester_save_filters (EphyUriTester *tester)
-{
- FILE *file = NULL;
- char *filepath = NULL;
-
- filepath = g_build_filename (tester->data_dir, FILTERS_LIST_FILENAME, NULL);
-
- if ((file = g_fopen (filepath, "w"))) {
- GSList *item = NULL;
- char *filter = NULL;
-
- for (item = tester->filters; item; item = g_slist_next (item)) {
- filter = g_strdup_printf ("%s;", (char *)item->data);
- fputs (filter, file);
- g_free (filter);
- }
- fclose (file);
- }
- g_free (filepath);
-}
-#endif
-
static inline int
ephy_uri_tester_check_rule (EphyUriTester *tester,
GRegex *regex,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]