From ced6dc05f895375377fe0f063e6c572a884ed3a0 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 16 Aug 2001 20:27:04 +0000 Subject: New function to strip surrounding whitespace from a string of categories 2001-08-16 Federico Mena Quintero * gui/dialogs/comp-editor-util.c (comp_editor_strip_categories): New function to strip surrounding whitespace from a string of categories entered by the user. * gui/dialogs/task-page.c (task_page_fill_component): Use comp_editor_strip_categories(). * gui/dialogs/event-page.c (event_page_fill_component): Likewise. svn path=/trunk/; revision=12122 --- calendar/gui/dialogs/comp-editor-util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'calendar/gui/dialogs/comp-editor-util.h') diff --git a/calendar/gui/dialogs/comp-editor-util.h b/calendar/gui/dialogs/comp-editor-util.h index 45c45a72a3..0654289698 100644 --- a/calendar/gui/dialogs/comp-editor-util.h +++ b/calendar/gui/dialogs/comp-editor-util.h @@ -47,5 +47,6 @@ void comp_editor_contacts_to_widget (GtkWidget *contacts_entry, void comp_editor_contacts_to_component (GtkWidget *contacts_entry, CalComponent *comp); +char *comp_editor_strip_categories (const char *categories); #endif -- cgit v1.2.3