]> git.0d.be Git - empathy.git/commitdiff
Connect to style-updated signal
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Mon, 10 Jan 2011 16:38:16 +0000 (16:38 +0000)
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Tue, 11 Jan 2011 11:37:19 +0000 (11:37 +0000)
... instead of to the deprecated style-set one.

src/empathy-chat-window.c

index 94598ad84b73581182bf2c6f6aa757d5ceabd886..07b940e3f19134b72bf87e8695d2f97d7a365085 100644 (file)
@@ -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);
        }