From 41e86775f05e5bdd8b6284fa5bc90129e13ee9c2 Mon Sep 17 00:00:00 2001
From: Larry Ewing <lewing@ximian.com>
Date: Sun, 21 Oct 2001 04:13:16 +0000
Subject: (e_select_names_set_default): don't forget to unref the oldstyle.

2001-10-20  Larry Ewing  <lewing@ximian.com>

	(e_select_names_set_default): don't forget to unref the oldstyle.

svn path=/trunk/; revision=13839
---
 addressbook/gui/component/select-names/e-select-names.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'addressbook/gui/component/select-names')

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);
 		}
 	}
 }
-- 
cgit v1.2.3