From 33446a4c605a0e8b8cbc462a1ed1f0af3dc15757 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 29 Jun 2011 21:06:51 -0400 Subject: EConfig: Minor cleanups. --- e-util/e-config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e-util/e-config.c b/e-util/e-config.c index 42b33e26c3..2c781cf9da 100644 --- a/e-util/e-config.c +++ b/e-util/e-config.c @@ -531,10 +531,10 @@ ec_rebuild (EConfig *emp) * duplication */ /* because rebuild destroys pages, and destroying active page causes crashes */ - is_assistant = emp->widget && GTK_IS_ASSISTANT (emp->widget); + is_assistant = GTK_IS_ASSISTANT (emp->widget); if (is_assistant) { GtkAssistant *assistant; - gint page_index = gtk_assistant_get_current_page (GTK_ASSISTANT (emp->widget)); + gint page_index; assistant = GTK_ASSISTANT (emp->widget); page_index = gtk_assistant_get_current_page (assistant); -- cgit