aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog1
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index ca78bbf83f..633d0da04f 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -3,6 +3,7 @@
* gui/component/select-names/e-select-names.c
(e_select_names_set_default): stick with the style font if the
efont bold font does not exist.
+ (e_select_names_set_default): don't forget to unref the oldstyle.
2001-10-20 Jon Trowbridge <trow@ximian.com>
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c
index 39225bb180..a2930da626 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -941,8 +941,8 @@ e_select_names_set_default (ESelectNames *e_select_names,
gtk_widget_set_style(child->label, style);
- gtk_style_unref(oldstyle);
}
+ gtk_style_unref(oldstyle);
}
}
}