[evolution] Bug #594484 - Crashed when tried to open more than one memo
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] Bug #594484 - Crashed when tried to open more than one memo
- Date: Tue, 8 Sep 2009 13:48:01 +0000 (UTC)
commit 6060e5b80c402399a80165cc568405c3e22c4e4c
Author: Milan Crha <mcrha redhat com>
Date: Tue Sep 8 15:48:58 2009 +0200
Bug #594484 - Crashed when tried to open more than one memo
calendar/gui/dialogs/comp-editor.c | 6 ++----
calendar/gui/dialogs/comp-editor.h | 2 --
2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 8995b0e..7f96b4b 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -1887,15 +1887,13 @@ close_dialog (CompEditor *editor)
gtk_widget_destroy (GTK_WIDGET (editor));
}
-gint
+static gint
comp_editor_compare (CompEditor *editor_a,
- CompEditor *editor_b)
+ const gchar *uid_b)
{
const gchar *uid_a = NULL;
- const gchar *uid_b = NULL;
e_cal_component_get_uid (editor_a->priv->comp, &uid_a);
- e_cal_component_get_uid (editor_b->priv->comp, &uid_b);
return g_strcmp0 (uid_a, uid_b);
}
diff --git a/calendar/gui/dialogs/comp-editor.h b/calendar/gui/dialogs/comp-editor.h
index 454f02b..0b3ea04 100644
--- a/calendar/gui/dialogs/comp-editor.h
+++ b/calendar/gui/dialogs/comp-editor.h
@@ -89,8 +89,6 @@ typedef enum {
} CompEditorFlags;
GType comp_editor_get_type (void);
-gint comp_editor_compare (CompEditor *editor_a,
- CompEditor *editor_b);
void comp_editor_set_changed (CompEditor *editor,
gboolean changed);
gboolean comp_editor_get_changed (CompEditor *editor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]