Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commite97228fc74b15026f2c8db56c069ffed11898d4d (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-01-08 10:07:13 +0100
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-01-08 10:09:03 +0100
Files31a587c1e70d5fe1057f4a0b0b3eefbfd02e8ac0
goodwolf-e97228fc74b15026f2c8db56c069ffed11898d4d.tar
goodwolf-e97228fc74b15026f2c8db56c069ffed11898d4d.tar.gz
goodwolf-e97228fc74b15026f2c8db56c069ffed11898d4d.zip
Parent3d066fb243e8e94e73fcdc51e79e6088dc6d3de9 (diff)
badwolf.c: g_fprintf → fprintf
1 files changed, 16 insertions, 16 deletions
-rw-r--r--badwolf.c32
diff --git a/badwolf.c b/badwolf.c
index bfffef4..d46c91c 100644
--- a/badwolf.c
+++ b/badwolf.c
@@ -9,9 +9,9 @@
#include "uri.h"
#include <glib/gi18n.h> /* _() and other internationalization/localization helpers */
-#include <glib/gprintf.h> /* g_fprintf() */
#include <libsoup/soup.h> /* soup* */
#include <locale.h> /* LC_* */
+#include <stdio.h> /* fprintf() */
#include <stdlib.h> /* malloc() */
const gchar *homepage = "https://hacktivis.me/projects/badwolf";
@@ -91,15 +91,15 @@ WebViewCb_web_process_terminated(WebKitWebView *webView,
switch(reason)
{
case WEBKIT_WEB_PROCESS_CRASHED:
- g_fprintf(stderr, _("the web process crashed.\n"));
+ fprintf(stderr, _("the web process crashed.\n"));
webView_tab_label_change(browser, _("title|Crashed"));
break;
case WEBKIT_WEB_PROCESS_EXCEEDED_MEMORY_LIMIT:
- g_fprintf(stderr, _("the web process exceeded the memory limit.\n"));
+ fprintf(stderr, _("the web process exceeded the memory limit.\n"));
webView_tab_label_change(browser, _("title|Out of Memory"));
break;
default:
- g_fprintf(stderr, _("the web process terminated for an unknown reason.\n"));
+ fprintf(stderr, _("the web process terminated for an unknown reason.\n"));
webView_tab_label_change(browser, _("title|Unknown Crash"));
}
@@ -761,21 +761,21 @@ main(int argc, char *argv[])
NULL);
#endif
- g_fprintf(stderr, _("Running Badwolf version: %s\n"), version);
- g_fprintf(stderr,
- _("Buildtime WebKit version: %d.%d.%d\n"),
- WEBKIT_MAJOR_VERSION,
- WEBKIT_MINOR_VERSION,
- WEBKIT_MICRO_VERSION);
- g_fprintf(stderr,
- _("Runtime WebKit version: %d.%d.%d\n"),
- webkit_get_major_version(),
- webkit_get_minor_version(),
- webkit_get_micro_version());
+ fprintf(stderr, _("Running Badwolf version: %s\n"), version);
+ fprintf(stderr,
+ _("Buildtime WebKit version: %d.%d.%d\n"),
+ WEBKIT_MAJOR_VERSION,
+ WEBKIT_MINOR_VERSION,
+ WEBKIT_MICRO_VERSION);
+ fprintf(stderr,
+ _("Runtime WebKit version: %d.%d.%d\n"),
+ webkit_get_major_version(),
+ webkit_get_minor_version(),
+ webkit_get_micro_version());
web_extensions_directory =
g_build_filename(g_get_user_data_dir(), "badwolf", "webkit-web-extension", NULL);
- g_fprintf(stderr, _("webkit-web-extension directory set to: %s\n"), web_extensions_directory);
+ fprintf(stderr, _("webkit-web-extension directory set to: %s\n"), web_extensions_directory);
window->main_window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
window->notebook = gtk_notebook_new();