Summary Files Commits Branches @commit @diff @stats
path: root / badwolf.h
diff options
context:
space:
mode:
Commit59f1c5d4dbcebc48d1d408dba0be2959d7970167 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-02-04 09:14:42 +0100
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-02-04 09:14:42 +0100
Files98e92b3ace336ba236e9d5e07c15648d070378c0 /badwolf.h
goodwolf-59f1c5d4dbcebc48d1d408dba0be2959d7970167.tar
goodwolf-59f1c5d4dbcebc48d1d408dba0be2959d7970167.tar.gz
goodwolf-59f1c5d4dbcebc48d1d408dba0be2959d7970167.zip
Parent9765887719fd5c3f784d30084111243caf90f16f (diff)
Parenteb974dcccdbcb35fa067ace053bc1fac7406b768 (diff)
Merge branch 'release-0.5' v0.5.0-rc.1
1 files changed, 1 insertions, 13 deletions
-rw-r--r--badwolf.h14
diff --git a/badwolf.h b/badwolf.h
index 4c9fa65..91c05a4 100644
--- a/badwolf.h
+++ b/badwolf.h
@@ -30,22 +30,10 @@ struct Client
GtkWidget *search;
};
-/* badwolf_ensure_uri_scheme: tries to add a scheme on a pseudo-URL missing a scheme
- * - gchar text: pseudo-URL missing a scheme
- * - gboolean try_file: when TRUE check try first if it can be a file:// path
- *
- * When `text` isn't exploitable (ie. NULL), returns "about:blank",
- * when the URL seems to be valid, return it,
- * if try_file is TRUE, check if it can be file:// path,
- * some other checks might be added.
- * In the end use the fallback (`http://` for now, might get configuration),
- * might get some safeguard.
- */
-gchar *badwolf_ensure_uri_scheme(gchar *text, gboolean try_file);
GtkWidget *badwolf_new_tab_box(const gchar *title, struct Client *browser);
void webView_tab_label_change(struct Client *browser, const gchar *title);
struct Client *
-new_browser(struct Window *window, gchar *target_url, WebKitWebView *related_web_view);
+new_browser(struct Window *window, const gchar *target_url, WebKitWebView *related_web_view);
int badwolf_new_tab(GtkNotebook *notebook, struct Client *browser);
gint badwolf_get_tab_position(GtkContainer *notebook, GtkWidget *child);
#endif /* BADWOLF_H_INCLUDED */