[balsa/gtk3] Do not crash on identities-changed
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Do not crash on identities-changed
- Date: Tue, 15 Jan 2013 23:02:22 +0000 (UTC)
commit d6a5a605868708c97a32fb17b378eb3fa93c7f9d
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Tue Jan 15 18:01:30 2013 -0500
Do not crash on identities-changed
* src/main-window.c: emit signal instead of calling NULL class
method.
ChangeLog | 5 +++++
src/main-window.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e37d99e..241cb7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-15 Peter Bloomfield
+
+ * src/main-window.c: emit signal instead of calling NULL class
+ method.
+
2013-01-08 Peter Bloomfield
* src/pref-manager.c (create_layout_types_menu): use relevant
diff --git a/src/main-window.c b/src/main-window.c
index 4397824..481d5b2 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -2566,7 +2566,7 @@ balsa_identities_changed(BalsaWindow *bw)
{
g_return_if_fail(BALSA_IS_WINDOW(bw));
- BALSA_WINDOW_GET_CLASS(bw)->identities_changed(bw);
+ g_signal_emit(bw, window_signals[IDENTITIES_CHANGED], (GQuark) 0);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]