--- a/ChangeLog Mon Oct 14 18:32:08 2002 -0400
+++ b/ChangeLog Sat Oct 19 15:41:46 2002 -0400
@@ -1,5 +1,10 @@
Gaim: The Pimpin' Penguin IM Clone thats good for the soul!
+ * Fixed a segfault introduced in 0.59.5 when gtk + fails to read the ~/.gtkrc or reads it but fails + to create a style from it. version 0.59.5 (10/14/2002):
* Fixed a Yahoo! segfault (Thanks, Craig Metz)
--- a/src/buddy.c Mon Oct 14 18:32:08 2002 -0400
+++ b/src/buddy.c Sat Oct 19 15:41:46 2002 -0400
@@ -2200,7 +2200,7 @@
+ GtkStyle *style = NULL; @@ -2231,10 +2231,13 @@
if (blist_options & OPT_BLIST_SHOW_IDLETIME)
gtk_widget_show(bs->idle);
- 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(gtk_rc_get_style(bs->label)) + style = gtk_style_copy( gtk_rc_get_style(bs->label) ); + style = gtk_style_new(); if ((blist_options & OPT_BLIST_GREY_IDLERS) && (b->idle)) {
+ for (i = 0; i < 5; i++) + style->fg[i] = bs->idle->style->fg[i]; style->fg[GTK_STATE_NORMAL].red =
(style->fg[GTK_STATE_NORMAL].red / 2) + (style->base[GTK_STATE_NORMAL].red / 2);
style->fg[GTK_STATE_NORMAL].green =