aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-01-11 00:38:16 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-01-11 19:37:19 +0800
commit41274d6973eef4628c1a1e26c281b703ecf8f980 (patch)
treee3fab013b42009fcdc55c4725d34b7a84ed66a7c
parent4dab5e45e10c4aa8d305a7cc5be62cee243f029b (diff)
downloadgsoc2013-empathy-41274d6973eef4628c1a1e26c281b703ecf8f980.tar
gsoc2013-empathy-41274d6973eef4628c1a1e26c281b703ecf8f980.tar.gz
gsoc2013-empathy-41274d6973eef4628c1a1e26c281b703ecf8f980.tar.bz2
gsoc2013-empathy-41274d6973eef4628c1a1e26c281b703ecf8f980.tar.lz
gsoc2013-empathy-41274d6973eef4628c1a1e26c281b703ecf8f980.tar.xz
gsoc2013-empathy-41274d6973eef4628c1a1e26c281b703ecf8f980.tar.zst
gsoc2013-empathy-41274d6973eef4628c1a1e26c281b703ecf8f980.zip
Connect to style-updated signal
... instead of to the deprecated style-set one.
-rw-r--r--src/empathy-chat-window.c9
1 files changed, 4 insertions, 5 deletions
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);
}