diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/uzbl-core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c index 275cccc..23039cc 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -1916,6 +1916,10 @@ void update_title (void) { Behaviour *b = &uzbl.behave; gchar *parsed; + + if(!GTK_IS_WINDOW(uzbl.gui.main_window)) + return; /* we're just starting up or just shutting down. */ + const gchar *current_title = gtk_window_get_title (GTK_WINDOW(uzbl.gui.main_window)); if (b->show_status) { |