aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-02-21 18:05:10 +0800
committerMilan Crha <mcrha@redhat.com>2012-02-21 18:05:10 +0800
commitb7954986ab5976d97520271acf61e30de6186019 (patch)
treeb2a20882844598d4c423b467fa28a4a6e72fb258
parent780a31d4c00c52cbb9006ca21bfe9009058bec58 (diff)
downloadgsoc2013-evolution-b7954986ab5976d97520271acf61e30de6186019.tar.gz
gsoc2013-evolution-b7954986ab5976d97520271acf61e30de6186019.tar.zst
gsoc2013-evolution-b7954986ab5976d97520271acf61e30de6186019.zip
Bug #670512 - Crash in ecp_set_target at e-cal-config.c:93
-rw-r--r--addressbook/gui/widgets/eab-config.c6
-rw-r--r--calendar/gui/e-cal-config.c6
2 files changed, 4 insertions, 8 deletions
diff --git a/addressbook/gui/widgets/eab-config.c b/addressbook/gui/widgets/eab-config.c
index df91f12802..0a1e7aba18 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 08f0aedd89..0e6f69725d 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) {