aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sb.c b/sb.c
index 65ccee3..327d208 100644
--- a/sb.c
+++ b/sb.c
@@ -288,9 +288,9 @@ void history_command() {
/*focus on tab after switching, aka title, statusbar, view, etc */
void tab_focus(GtkNotebook *notebook, GtkWidget *page, guint page_num, gpointer user_data) {
+ struct tab *t = get_tab(NULL, page_num);
const char *url = webkit_web_view_get_uri(t->view);
const char *title = webkit_web_view_get_title(t->view);
-
gtk_statusbar_push(GTK_STATUSBAR(w.status), 0, "");