comparison src/conversation.c @ 3374:3cd2fbddf95a

[gaim-migrate @ 3393] I had terrible days today and yesterday--a really terrible weekend. No cool stuff from me--the prefs away message page works a bit better. Ari and Chip both sent some patches to make things work a bit better in GTK 2, and Etan rewrote the notify plugin so it's really cool now! Thanks, guys! committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 05 Aug 2002 07:33:09 +0000
parents 3b00d97d59aa
children d59394b4c5a6
comparison
equal deleted inserted replaced
3373:0e79bf1d79ea 3374:3cd2fbddf95a
2599 gtk_window_set_focus(GTK_WINDOW(c->window), c->entry); 2599 gtk_window_set_focus(GTK_WINDOW(c->window), c->entry);
2600 if (!GTK_WIDGET_REALIZED(label)) 2600 if (!GTK_WIDGET_REALIZED(label))
2601 return; 2601 return;
2602 if (c->unseen == -1) return; 2602 if (c->unseen == -1) return;
2603 style = gtk_style_new(); 2603 style = gtk_style_new();
2604 #if !GTK_CHECK_VERSION(1,3,0)
2604 gdk_font_unref(gtk_style_get_font(style)); 2605 gdk_font_unref(gtk_style_get_font(style));
2606 #endif
2605 gtk_style_set_font(style, gdk_font_ref(gtk_style_get_font(label->style))); 2607 gtk_style_set_font(style, gdk_font_ref(gtk_style_get_font(label->style)));
2606 gtk_widget_set_style(label, style); 2608 gtk_widget_set_style(label, style);
2607 gtk_style_unref(style); 2609 gtk_style_unref(style);
2608 if (c) 2610 if (c)
2609 c->unseen = 0; 2611 c->unseen = 0;
3572 c->anim = NULL; 3574 c->anim = NULL;
3573 if (c->icon_timer) 3575 if (c->icon_timer)
3574 gtk_timeout_remove(c->icon_timer); 3576 gtk_timeout_remove(c->icon_timer);
3575 c->icon_timer = 0; 3577 c->icon_timer = 0;
3576 #if GTK_CHECK_VERSION(1,3,0) 3578 #if GTK_CHECK_VERSION(1,3,0)
3577 g_object_unref(c->iter); 3579 if(c->iter)
3580 g_object_unref(c->iter);
3578 #else 3581 #else
3579 c->frame = 0; 3582 c->frame = 0;
3580 #endif 3583 #endif
3581 #endif 3584 #endif
3582 } 3585 }