aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/comp-editor.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-09-08 21:48:58 +0800
committerMilan Crha <mcrha@redhat.com>2009-09-08 21:48:58 +0800
commit6060e5b80c402399a80165cc568405c3e22c4e4c (patch)
tree454b115a10997c1fb3db954df2e118fe450f1123 /calendar/gui/dialogs/comp-editor.c
parent47ba0551c17b53fc7423aaefb1fab754ed9f40a3 (diff)
downloadgsoc2013-evolution-6060e5b80c402399a80165cc568405c3e22c4e4c.tar
gsoc2013-evolution-6060e5b80c402399a80165cc568405c3e22c4e4c.tar.gz
gsoc2013-evolution-6060e5b80c402399a80165cc568405c3e22c4e4c.tar.bz2
gsoc2013-evolution-6060e5b80c402399a80165cc568405c3e22c4e4c.tar.lz
gsoc2013-evolution-6060e5b80c402399a80165cc568405c3e22c4e4c.tar.xz
gsoc2013-evolution-6060e5b80c402399a80165cc568405c3e22c4e4c.tar.zst
gsoc2013-evolution-6060e5b80c402399a80165cc568405c3e22c4e4c.zip
Bug #594484 - Crashed when tried to open more than one memo
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.c')
-rw-r--r--calendar/gui/dialogs/comp-editor.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 8995b0eddc..7f96b4bf8b 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);
}