diff options
author | Milan Crha <mcrha@redhat.com> | 2009-09-08 21:48:58 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-09-08 21:48:58 +0800 |
commit | 6060e5b80c402399a80165cc568405c3e22c4e4c (patch) | |
tree | 454b115a10997c1fb3db954df2e118fe450f1123 /calendar | |
parent | 47ba0551c17b53fc7423aaefb1fab754ed9f40a3 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 6 | ||||
-rw-r--r-- | 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 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); } diff --git a/calendar/gui/dialogs/comp-editor.h b/calendar/gui/dialogs/comp-editor.h index 454f02b2e6..0b3ea047e7 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); |