aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturke@gmail.com>2012-02-21 13:02:37 -0500
committerCalvin Morrison <mutantturke@gmail.com>2012-02-21 13:02:37 -0500
commit3cff1595f08866fb9c22e2bf24e75ed06f6fb423 (patch)
treea898f73c553e6f47757aefa5a8b5913f1b204654
parent99eeabe5605099cfc80a71f7924e27662ca96fbc (diff)
whoops a struct declaration was removed, this fixes it
-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, "");