logo

badwolf

Unnamed repository; edit this file 'description' to name the repository.
commit: 3ad61f709969902c5cd75d188fb4ec915f792dce
parent: f3555b1a429380abb99e3ad34818d8a1896ae765
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue,  8 Jan 2019 00:03:52 +0100

badwolf.c: Make sure to include stdio.h for fprintf, remove FP-ism

Diffstat:

Mbadwolf.c3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/badwolf.c b/badwolf.c @@ -2,6 +2,7 @@ // Copyright © 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> // SPDX-License-Identifier: BSD-3-Clause +#include <stdio.h> /* fprintf() */ #include <gtk/gtk.h> #include <webkit2/webkit2.h> @@ -13,7 +14,7 @@ struct Client WebKitWebView *webView; }; -static gboolean WebViewCb_close(WebKitWebView *_webView, GtkWidget *window) +static gboolean WebViewCb_close(WebKitWebView *webView, GtkWidget *window) { gtk_widget_destroy(window); return TRUE;