From: Emilio Pozuelo Monfort Date: Mon, 10 Jan 2011 16:38:16 +0000 (+0000) Subject: Connect to style-updated signal X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=41274d6973eef4628c1a1e26c281b703ecf8f980 Connect to style-updated signal ... instead of to the deprecated style-set one. --- diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 94598ad8..07b940e3 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); }