gaim/gaim

46d2ff75530b
Parents c1b7d5833523
Children aab80d5731fa
make styles work for blist in gtk1-stable. thanks to Sergey V. Udaltsov (svu)
  • +1 -3
    src/buddy.c
  • --- a/src/buddy.c Fri Oct 11 01:40:57 2002 -0400
    +++ b/src/buddy.c Mon Oct 14 10:41:16 2002 -0400
    @@ -2231,9 +2231,7 @@
    if (blist_options & OPT_BLIST_SHOW_IDLETIME)
    gtk_widget_show(bs->idle);
    - style = gtk_style_new();
    - gdk_font_unref(gtk_style_get_font(style));
    - gtk_style_set_font(style, gdk_font_ref(gtk_style_get_font(bs->label->style)));
    + style = gtk_style_copy( gtk_rc_get_style(bs->label) );
    for (i = 0; i < 5; i++)
    style->fg[i] = bs->idle->style->fg[i];
    if ((blist_options & OPT_BLIST_GREY_IDLERS) && (b->idle)) {