From 41274d6973eef4628c1a1e26c281b703ecf8f980 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Mon, 10 Jan 2011 16:38:16 +0000 Subject: Connect to style-updated signal ... instead of to the deprecated style-set one. --- src/empathy-chat-window.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 94598ad84..07b940e3f 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -219,9 +219,8 @@ chat_window_close_clicked_cb (GtkAction *action, } static void -chat_tab_style_set_cb (GtkWidget *hbox, - GtkStyle *previous_style, - gpointer user_data) +chat_tab_style_updated_cb (GtkWidget *hbox, + gpointer user_data) { GtkWidget *button; int char_width, h, w; @@ -339,8 +338,8 @@ chat_window_create_label (EmpathyChatWindow *window, /* React to theme changes and also setup the size correctly. */ g_signal_connect (hbox, - "style-set", - G_CALLBACK (chat_tab_style_set_cb), + "style-updated", + G_CALLBACK (chat_tab_style_updated_cb), chat); } -- cgit v1.2.3