aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-06-30 09:06:51 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-06-30 23:11:45 +0800
commit61b0e22f3eb773061a40476eb3ad412abbdda178 (patch)
tree9a6ba300057b2419040bced9847a974ac4727c33 /e-util
parenta1b810294d9a8d78738e5d77fdb468cbf58bd970 (diff)
downloadgsoc2013-evolution-61b0e22f3eb773061a40476eb3ad412abbdda178.tar
gsoc2013-evolution-61b0e22f3eb773061a40476eb3ad412abbdda178.tar.gz
gsoc2013-evolution-61b0e22f3eb773061a40476eb3ad412abbdda178.tar.bz2
gsoc2013-evolution-61b0e22f3eb773061a40476eb3ad412abbdda178.tar.lz
gsoc2013-evolution-61b0e22f3eb773061a40476eb3ad412abbdda178.tar.xz
gsoc2013-evolution-61b0e22f3eb773061a40476eb3ad412abbdda178.tar.zst
gsoc2013-evolution-61b0e22f3eb773061a40476eb3ad412abbdda178.zip
EConfig: Minor cleanups.
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);