type fixes
authorDieter Plaetinck <dieter@plaetinck.be>
Sat, 25 Apr 2009 14:57:23 +0000 (16:57 +0200)
committerDieter Plaetinck <dieter@plaetinck.be>
Sat, 25 Apr 2009 14:57:23 +0000 (16:57 +0200)
uzbl.c

diff --git a/uzbl.c b/uzbl.c
index 6c39e4f..b3d03b1 100644 (file)
--- a/uzbl.c
+++ b/uzbl.c
@@ -49,7 +49,7 @@ static gchar* fifodir   = NULL;
 static char fifopath[64];
 static gint load_progress;
 static guint status_context_id;
-static Window xwin = NULL;
+static Window xwin = 0;
 static gchar* uri = NULL;
 
 static gboolean verbose = FALSE;
@@ -208,7 +208,7 @@ log_history_cb () {
 static void
 activate_uri_entry_cb (GtkWidget* entry, gpointer data)
 {
-    uri = gtk_entry_get_text (GTK_ENTRY (entry));
+    const gchar * uri = gtk_entry_get_text (GTK_ENTRY (entry));
     g_assert (uri);
     webkit_web_view_load_uri (web_view, uri);
 }