gtk_widget_get_size_request (box, NULL, &height);
width = allocation->width;
-
+
width -= \
gtk_text_view_get_right_margin (GTK_TEXT_VIEW (view)) - \
gtk_text_view_get_left_margin (GTK_TEXT_VIEW (view));
/* Only insert a header if the previously inserted block is not the same
* as this one.
*/
- if (last_contact == contact) {
+ if (empathy_contact_equal (last_contact, contact)) {
return;
}
NULL);
g_free (tmp);
g_free (str);
-
+
/* Set foreground color of labels to the same color than the header tag. */
table = gtk_text_buffer_get_tag_table (buffer);
tag = gtk_text_tag_table_lookup (table, EMPATHY_THEME_BOXES_TAG_HEADER);
gpointer user_data)
{
EmpathyThemeBoxesPriv *priv = GET_PRIV (user_data);
-
+
empathy_conf_get_bool (conf, key, &priv->show_avatars);
}