[evolution] Bug #670512 - Crash in ecp_set_target at e-cal-config.c:93



commit b7954986ab5976d97520271acf61e30de6186019
Author: Milan Crha <mcrha redhat com>
Date:   Tue Feb 21 11:05:10 2012 +0100

    Bug #670512 - Crash in ecp_set_target at e-cal-config.c:93

 addressbook/gui/widgets/eab-config.c |    6 ++----
 calendar/gui/e-cal-config.c          |    6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/addressbook/gui/widgets/eab-config.c b/addressbook/gui/widgets/eab-config.c
index df91f12..0a1e7ab 100644
--- a/addressbook/gui/widgets/eab-config.c
+++ b/addressbook/gui/widgets/eab-config.c
@@ -30,8 +30,6 @@
 	(G_TYPE_INSTANCE_GET_PRIVATE \
 	((obj), EAB_TYPE_CONFIG, EABConfigPrivate))
 
-static GObjectClass *ecp_parent_class;
-
 struct _EABConfigPrivate {
 	guint source_changed_id;
 };
@@ -80,7 +78,7 @@ ecp_target_free (EConfig *ec,
 		break; }
 	}
 
-	((EConfigClass *) ecp_parent_class)->target_free (ec, t);
+	((EConfigClass *) eab_config_parent_class)->target_free (ec, t);
 }
 
 static void
@@ -96,7 +94,7 @@ ecp_set_target (EConfig *ec,
 {
 	struct _EABConfigPrivate *p = EAB_CONFIG_GET_PRIVATE (ec);
 
-	((EConfigClass *) ecp_parent_class)->set_target (ec, t);
+	((EConfigClass *) eab_config_parent_class)->set_target (ec, t);
 
 	if (t) {
 		switch (t->type) {
diff --git a/calendar/gui/e-cal-config.c b/calendar/gui/e-cal-config.c
index 08f0aed..0e6f697 100644
--- a/calendar/gui/e-cal-config.c
+++ b/calendar/gui/e-cal-config.c
@@ -31,8 +31,6 @@
 	(G_TYPE_INSTANCE_GET_PRIVATE \
 	((obj), E_TYPE_CAL_CONFIG, ECalConfigPrivate))
 
-static GObjectClass *ecp_parent_class;
-
 struct _ECalConfigPrivate {
 	guint source_changed_id;
 };
@@ -74,7 +72,7 @@ ecp_target_free (EConfig *ec,
 		break; }
 	}
 
-	((EConfigClass *) ecp_parent_class)->target_free (ec, t);
+	((EConfigClass *) e_cal_config_parent_class)->target_free (ec, t);
 }
 
 static void
@@ -90,7 +88,7 @@ ecp_set_target (EConfig *ec,
 {
 	ECalConfigPrivate *p = E_CAL_CONFIG_GET_PRIVATE (ec);
 
-	((EConfigClass *) ecp_parent_class)->set_target (ec, t);
+	((EConfigClass *) e_cal_config_parent_class)->set_target (ec, t);
 
 	if (t) {
 		switch (t->type) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]