From bdd8949166e1736a93dcbf77f9b3d0c214900554 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 30 Oct 2000 17:17:05 +0000 Subject: Removed the geometry and hidden arguments. This code is ancient. 2000-10-30 Federico Mena Quintero * gui/calendar-commands.c (new_calendar): Removed the geometry and hidden arguments. This code is ancient. (all_calendars): Made static. This sucks; configuration should be notification-based instead of "let's iterate through all open calendars". (active_calendars): Removed. Functions can check the length of the all_calendars list if they are interested. svn path=/trunk/; revision=6274 --- calendar/gui/calendar-commands.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'calendar/gui/calendar-commands.h') diff --git a/calendar/gui/calendar-commands.h b/calendar/gui/calendar-commands.h index f7afa4b3c2..19752c9cc8 100644 --- a/calendar/gui/calendar-commands.h +++ b/calendar/gui/calendar-commands.h @@ -106,9 +106,7 @@ void parse_color_spec (char *spec, int *r, int *g, int *b); /* Calls build_color_spec() for the color in the specified property number */ char *color_spec_from_prop (ColorProp propnum); -GnomeCalendar *new_calendar (char *full_name, - char *geometry, - gboolean hidden); +GnomeCalendar *new_calendar (char *full_name); void calendar_set_uri (GnomeCalendar *gcal, char *calendar_file); @@ -129,7 +127,5 @@ void quit_cmd (BonoboUIComponent *uih, void *user_data, const char *path); extern char *user_name; extern char *full_name; extern int debug_alarms; -extern int active_calendars; -extern GList *all_calendars; #endif /* CALENDAR_COMMANDS_H */ -- cgit