aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-09-02 06:47:32 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-09-02 06:47:32 +0800
commit91c7d5d800c1b03e014b5fb10dfea6cd8609e627 (patch)
tree5ff8405ec2ce4c356c3642e8b70180b00b161aab /calendar/gui/gnome-cal.h
parent6993fc1c571c50c9d042cc26f0fd0e049492e37c (diff)
downloadgsoc2013-evolution-91c7d5d800c1b03e014b5fb10dfea6cd8609e627.tar.gz
gsoc2013-evolution-91c7d5d800c1b03e014b5fb10dfea6cd8609e627.tar.zst
gsoc2013-evolution-91c7d5d800c1b03e014b5fb10dfea6cd8609e627.zip
Use gnome_calendar_construct() so that we can check for proper creation of
2000-09-01 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (gnome_calendar_new): Use gnome_calendar_construct() so that we can check for proper creation of the client. (gnome_calendar_destroy): Check that the client exists before we unref it. (gnome_calendar_construct): Do the CalClient creation here. Bind the views to it here as well instead of in setup_widgets(). (gnome_calendar_init): Call setup_widgets() here. * gui/e-calendar-table.c (e_calendar_table_destroy): Unref the model. 2000-09-01 JP Rosevear <jpr@helixcode.com> svn path=/trunk/; revision=5175
Diffstat (limited to 'calendar/gui/gnome-cal.h')
-rw-r--r--calendar/gui/gnome-cal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.h b/calendar/gui/gnome-cal.h
index 84d103f830..a3a171701f 100644
--- a/calendar/gui/gnome-cal.h
+++ b/calendar/gui/gnome-cal.h
@@ -109,7 +109,10 @@ typedef enum {
} GnomeCalendarOpenMode;
guint gnome_calendar_get_type (void);
+GtkWidget *gnome_calendar_construct (GnomeCalendar *gcal);
+
GtkWidget *gnome_calendar_new (char *title);
+
int gnome_calendar_open (GnomeCalendar *gcal,
char *file,
GnomeCalendarOpenMode gcom);