Summary Files Commits Branches @commit @diff @stats
path: root / badwolf.c
diff options
context:
space:
mode:
1 files changed, 2 insertions, 2 deletions
-rw-r--r--badwolf.c4
diff --git a/badwolf.c b/badwolf.c
index 479c95c..a0729fb 100644
--- a/badwolf.c
+++ b/badwolf.c
@@ -88,9 +88,9 @@ int main(int argc, char *argv[])
struct Client *browser = calloc(1, sizeof(struct Client));
char *target_url = "about:blank";
- if(argv[1]) target_url = argv[1];
+ gtk_init(&argc, &argv);
- gtk_init(0, 0);
+ if(argv[1]) target_url = argv[1];
browser->main_window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
browser->location = gtk_entry_new();