[evolution/wip/gsettings] EConfig: Minor cleanups.
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] EConfig: Minor cleanups.
- Date: Wed, 14 Sep 2011 12:13:43 +0000 (UTC)
commit 33446a4c605a0e8b8cbc462a1ed1f0af3dc15757
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]