[evolution/webkit] EConfig: Minor cleanups.
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit] EConfig: Minor cleanups.
- Date: Mon, 11 Jul 2011 14:59:43 +0000 (UTC)
commit ee8650c87816f189c5bfca0b0617977eaf6643e3
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Jun 29 21:06:51 2011 -0400
EConfig: Minor cleanups.
e-util/e-config.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/e-util/e-config.c b/e-util/e-config.c
index 42b33e2..2c781cf 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]