aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-09-09 09:00:05 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-09-09 09:00:05 +0800
commit3561e168465b99a2e31053a4a41ea05f9d485b9e (patch)
tree48cf7aceb6f5c57b5ff1df36683df129a32b72ca /calendar/gui/gnome-cal.h
parent1768e0e4fde11a6dfdf2336536edce3c954f4474 (diff)
downloadgsoc2013-evolution-3561e168465b99a2e31053a4a41ea05f9d485b9e.tar
gsoc2013-evolution-3561e168465b99a2e31053a4a41ea05f9d485b9e.tar.gz
gsoc2013-evolution-3561e168465b99a2e31053a4a41ea05f9d485b9e.tar.bz2
gsoc2013-evolution-3561e168465b99a2e31053a4a41ea05f9d485b9e.tar.lz
gsoc2013-evolution-3561e168465b99a2e31053a4a41ea05f9d485b9e.tar.xz
gsoc2013-evolution-3561e168465b99a2e31053a4a41ea05f9d485b9e.tar.zst
gsoc2013-evolution-3561e168465b99a2e31053a4a41ea05f9d485b9e.zip
New function with the loading/creation state machine. It is carefully
2000-09-08 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (cal_loaded_cb): New function with the loading/creation state machine. It is carefully modelled after the state machine that started the Universe, so bow before it. (gnome_calendar_construct): Do not connect to cal_loaded here. (connect_load): The closure for the cal_loaded callback is a bit tricky, so provide a function to create it and connect to the signal. (disconnect_load): Disconnect from the signal and free the closure. (gnome_calendar_load_cb): Removed obsolete buggy function. (gnome_calendar_open): Use the new mechanism. * gui/control-factory.c (set_prop): The default filename is now calendar.ics. svn path=/trunk/; revision=5280
Diffstat (limited to 'calendar/gui/gnome-cal.h')
-rw-r--r--calendar/gui/gnome-cal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/gnome-cal.h b/calendar/gui/gnome-cal.h
index 6201c0d524..53b547581e 100644
--- a/calendar/gui/gnome-cal.h
+++ b/calendar/gui/gnome-cal.h
@@ -44,8 +44,8 @@ struct _GnomeCalendarClass {
typedef enum {
- CALENDAR_OPEN,
- CALENDAR_OPEN_OR_CREATE
+ CALENDAR_OPEN,
+ CALENDAR_OPEN_OR_CREATE
} GnomeCalendarOpenMode;
GtkType gnome_calendar_get_type (void);
@@ -55,7 +55,7 @@ GtkWidget *gnome_calendar_new (void);
CalClient *gnome_calendar_get_cal_client (GnomeCalendar *gcal);
-int gnome_calendar_open (GnomeCalendar *gcal,
+gboolean gnome_calendar_open (GnomeCalendar *gcal,
char *file,
GnomeCalendarOpenMode gcom);
/*