[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Sun, 20 Mar 2022 04:55:18 -0400 (EDT) |
branch: master
commit 310e17e51f03deafb0b5560a95d064ba6000011e
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed Oct 16 14:20:56 2019 +0100
remove unused code
---
js/wkinfo/main.c | 25 -------------------------
1 file changed, 25 deletions(-)
diff --git a/js/wkinfo/main.c b/js/wkinfo/main.c
index 1a2fd87be7..dc770bbe75 100644
--- a/js/wkinfo/main.c
+++ b/js/wkinfo/main.c
@@ -64,28 +64,6 @@ WebKitWebView *hiddenWebView = NULL;
char *info_dir = 0;
-void
-load_indices (void)
-{
- return;
-
- if (indices_loaded)
- return;
- indices_loaded = TRUE;
-
- /* Create a web view to parse index files. */
- hiddenWebView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-
- GString *s = g_string_new (NULL);
- g_string_append (s, "file:");
- g_string_append (s, info_dir);
- g_string_append (s, "/hello/Concept-index.html?send-index");
-
- webkit_web_view_load_uri (hiddenWebView, s->str);
- g_string_free (s, TRUE);
-}
-
-
void
load_relative_url (const char *href)
{
@@ -509,8 +487,6 @@ main(int argc, char* argv[])
webkit_web_view_load_uri (webView, s->str);
g_string_free (s, TRUE);
- // load_indices ();
-
/* Create a web view to parse index files. */
hiddenWebView = WEBKIT_WEB_VIEW(webkit_web_view_new());
@@ -548,7 +524,6 @@ onkeypress (GtkWidget *webView,
up_link);
break;
case GDK_KEY_i:
- load_indices ();
show_index ();
break;
default:
- [no subject], (continued)
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject],
Gavin D. Smith <=
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20