aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-config.c4
1 files 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);