Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commita59a8246ef335ece888c8f5183133fb428c6933a (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-04-11 01:48:15 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-04-11 01:50:45 +0200
Filese1897f4191072c1f80436e99799fbe7d7b2344cb
goodwolf-a59a8246ef335ece888c8f5183133fb428c6933a.tar
goodwolf-a59a8246ef335ece888c8f5183133fb428c6933a.tar.gz
goodwolf-a59a8246ef335ece888c8f5183133fb428c6933a.zip
Parent1f82848e4aca29abd70dd8f248d922c5f9268e11 (diff)
badwolf.c: Fix function statements
1 files changed, 8 insertions, 7 deletions
-rw-r--r--badwolf.c15
diff --git a/badwolf.c b/badwolf.c
index 7a8a97f..40257ef 100644
--- a/badwolf.c
+++ b/badwolf.c
@@ -36,6 +36,7 @@ static gboolean WebViewCb_web_process_terminated(WebKitWebView *webView,
WebKitWebProcessTerminationReason reason);
static gboolean
WebViewCb_notify__uri(WebKitWebView *webView, GParamSpec *pspec, gpointer user_data);
+GtkWidget *badwolf_new_tab_box(const gchar *title, struct Client *browser);
static gboolean
WebViewCb_notify__title(WebKitWebView *webView, GParamSpec *pspec, gpointer user_data);
static gboolean
@@ -48,7 +49,7 @@ static gboolean WebViewCb_mouse_target_changed(WebKitWebView *webView,
WebKitHitTestResult *hit,
guint modifiers,
gpointer user_data);
-static WebKitWebView *WebViewCb_create(WebKitWebView *webView,
+static WebKitWebView *WebViewCb_create(WebKitWebView *related_web_view,
WebKitNavigationAction *navigation_action,
gpointer user_data);
static gboolean locationCb_activate(GtkEntry *location, gpointer user_data);
@@ -59,12 +60,12 @@ static gboolean SearchEntryCb_search__changed(GtkSearchEntry *search, gpointer u
static gboolean SearchEntryCb_stop__search(GtkSearchEntry *search, gpointer user_data);
struct Client *
new_browser(struct Window *window, gchar *target_url, WebKitWebView *related_web_view);
-void new_tabCb_clicked(GtkButton *new_tab, gpointer user_data);
-void closeCb_clicked(GtkButton *close, gpointer user_data);
int badwolf_new_tab(GtkNotebook *notebook, struct Client *browser);
-GtkWidget *badwolf_new_tab_box(const gchar *title, struct Client *browser);
+static void new_tabCb_clicked(GtkButton *new_tab, gpointer user_data);
+static void closeCb_clicked(GtkButton *close, gpointer user_data);
+static void
+notebookCb_switch__page(GtkNotebook *notebook, GtkWidget *page, guint page_num, gpointer user_data);
gint get_tab_position(GtkContainer *notebook, GtkWidget *child);
-int main(int argc, char *argv[]);
static gboolean
WebViewCb_close(WebKitWebView *webView, gpointer user_data)
@@ -455,7 +456,7 @@ badwolf_new_tab(GtkNotebook *notebook, struct Client *browser)
return 0;
}
-void
+static void
new_tabCb_clicked(GtkButton *new_tab, gpointer user_data)
{
(void)new_tab;
@@ -465,7 +466,7 @@ new_tabCb_clicked(GtkButton *new_tab, gpointer user_data)
badwolf_new_tab(GTK_NOTEBOOK(window->notebook), browser);
}
-void
+static void
closeCb_clicked(GtkButton *close, gpointer user_data)
{
(void)close;