diff options
author | Brendan Taylor <whateley@gmail.com> | 2010-10-21 15:17:52 -0600 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2010-10-21 15:17:52 -0600 |
commit | ebb4bb31a0e43ede227419ecd8855f2a0b364f9d (patch) | |
tree | ddd0c3e9f979172639d176ff46d796be54078cdb /src | |
parent | f6139aa2ad2c4c0db96b004c38c120c73edbb971 (diff) | |
parent | d8e3aa56842811761fca33091c73e0be997675e3 (diff) |
Merge branch 'dev/status-fixes'
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) { |