From 898fb15c58a3c5b5ab99cf73c1c09456e8bb58eb Mon Sep 17 00:00:00 2001 From: Raphael Graf Date: Tue, 19 Jul 2011 21:19:25 +0000 Subject: gtk+3 compatibility ok marco@ --- xxxterm.c | 5 +++-- 1 file 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), -- cgit 1.4.1-2-gfad0