diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-08 03:01:42 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-08 03:01:42 +0800 |
commit | b5a61327da495147f0a45b4a9f6ee3a77687eeab (patch) | |
tree | c982108602c3bda5e204f1c4557a400cf96e00d0 /calendar/main.c | |
parent | eaba896a148c812a3744805bcfb56b09753bc896 (diff) | |
download | gsoc2013-evolution-b5a61327da495147f0a45b4a9f6ee3a77687eeab.tar gsoc2013-evolution-b5a61327da495147f0a45b4a9f6ee3a77687eeab.tar.gz gsoc2013-evolution-b5a61327da495147f0a45b4a9f6ee3a77687eeab.tar.bz2 gsoc2013-evolution-b5a61327da495147f0a45b4a9f6ee3a77687eeab.tar.lz gsoc2013-evolution-b5a61327da495147f0a45b4a9f6ee3a77687eeab.tar.xz gsoc2013-evolution-b5a61327da495147f0a45b4a9f6ee3a77687eeab.tar.zst gsoc2013-evolution-b5a61327da495147f0a45b4a9f6ee3a77687eeab.zip |
More work in progress, wheeeee - Federico
svn path=/trunk/; revision=109
Diffstat (limited to 'calendar/main.c')
-rw-r--r-- | calendar/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/main.c b/calendar/main.c index d499992b1c..cd4d107421 100644 --- a/calendar/main.c +++ b/calendar/main.c @@ -10,6 +10,7 @@ #include <pwd.h> #include <sys/types.h> #include "calendar.h" +#include "eventedit.h" #include "gnome-cal.h" #include "main.h" @@ -238,7 +239,6 @@ new_calendar (char *full_name, char *calendar_file) toplevel = gnome_calendar_new (title); setup_menu (toplevel); - gtk_widget_show (toplevel); if (g_file_exists (calendar_file)){ printf ("Trying to load %s\n", calendar_file); @@ -248,6 +248,8 @@ new_calendar (char *full_name, char *calendar_file) gnome_calendar_load (GNOME_CALENDAR (toplevel), "./test.vcf"); } active_calendars++; + + gtk_widget_show (toplevel); } int @@ -267,6 +269,7 @@ main(int argc, char *argv[]) new_calendar (full_name, user_calendar_file); gtk_main (); + return 0; } |