aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-06-30 09:06:51 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:08:33 +0800
commit33446a4c605a0e8b8cbc462a1ed1f0af3dc15757 (patch)
tree173ac8de4a6885f9ae95b935e873d64161373e7c
parent1d57572affb122f532b0668613e3cfd9dbab5416 (diff)
downloadgsoc2013-evolution-33446a4c605a0e8b8cbc462a1ed1f0af3dc15757.tar.gz
gsoc2013-evolution-33446a4c605a0e8b8cbc462a1ed1f0af3dc15757.tar.zst
gsoc2013-evolution-33446a4c605a0e8b8cbc462a1ed1f0af3dc15757.zip
EConfig: Minor cleanups.
-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);