about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRaphael Graf <r@undefined.ch>2011-07-19 21:19:25 +0000
committerRaphael Graf <r@undefined.ch>2011-07-19 21:19:25 +0000
commit898fb15c58a3c5b5ab99cf73c1c09456e8bb58eb (patch)
tree2ad7ad56c15dd3bd7f6e287c9835cde2366ef2a6
parent5d5ea3d02b10ee8b7dac6f86091fc43f9ad494b0 (diff)
downloadxombrero-898fb15c58a3c5b5ab99cf73c1c09456e8bb58eb.tar.gz
gtk+3 compatibility
ok marco@
-rw-r--r--xxxterm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 7d0da76..b28a561 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -6136,6 +6136,7 @@ notify_title_cb(WebKitWebView* wview, GParamSpec* pspec, struct tab *t)
 	title = get_title(t, FALSE);
 	win_title = get_title(t, TRUE);
 	gtk_label_set_text(GTK_LABEL(t->label), title);
+	gtk_label_set_text(GTK_LABEL(t->tab_elems.label), title);
 	if (t->tab_id == gtk_notebook_get_current_page(notebook))
 		gtk_window_set_title(GTK_WINDOW(main_window), win_title);
 }
@@ -7868,10 +7869,10 @@ create_new_tab(char *title, struct undo *u, int focus, int position)
 	gtk_notebook_set_tab_reorderable(notebook, t->vbox, TRUE);
 
 	/* compact tabs clickable */
-	g_signal_connect(GTK_OBJECT(t->tab_elems.eventbox),
+	g_signal_connect(G_OBJECT(t->tab_elems.eventbox),
 	    "button_press_event", G_CALLBACK(tab_clicked_cb), t);
 
-	g_signal_connect(GTK_OBJECT(notebook),
+	g_signal_connect(G_OBJECT(notebook),
 	    "page_reordered", G_CALLBACK(page_reordered_cb), t);
 
 	g_object_connect(G_OBJECT(t->cmd),