Summary Files Commits Branches @commit @diff @stats
path: root / badwolf.h
diff options
context:
space:
mode:
1 files changed, 2 insertions, 2 deletions
-rw-r--r--badwolf.h4
diff --git a/badwolf.h b/badwolf.h
index 4c9fa65..971ffa3 100644
--- a/badwolf.h
+++ b/badwolf.h
@@ -41,11 +41,11 @@ struct Client
* 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);
+const gchar *badwolf_ensure_uri_scheme(const 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 */