diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/main.c | 5 | ||||
-rw-r--r-- | calendar/main.c | 5 |
3 files changed, 11 insertions, 4 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index cc17eaa6f3..7693a3635b 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +1998-10-07 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de> + + * main.c (main): Replaced the 'gnome_client_new_default' call with + 'gnome_master_client'. + 1998-10-02 Federico Mena Quintero <federico@nuclecu.unam.mx> * timeutil.c (time_day_begin): Changed name from diff --git a/calendar/gui/main.c b/calendar/gui/main.c index 7fad966413..32454f004a 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -708,14 +708,15 @@ main(int argc, char *argv[]) bindtextdomain(PACKAGE, GNOMELOCALEDIR); textdomain(PACKAGE); - client = gnome_client_new_default (); + gnome_init ("calendar", &parser, argc, argv, 0, NULL); + + client = gnome_master_client (); if (client){ gtk_signal_connect (GTK_OBJECT (client), "save_yourself", GTK_SIGNAL_FUNC (session_save_state), argv [0]); gtk_signal_connect (GTK_OBJECT (client), "die", GTK_SIGNAL_FUNC (session_die), NULL); } - gnome_init ("calendar", &parser, argc, argv, 0, NULL); process_dates (); alarm_init (); diff --git a/calendar/main.c b/calendar/main.c index 7fad966413..32454f004a 100644 --- a/calendar/main.c +++ b/calendar/main.c @@ -708,14 +708,15 @@ main(int argc, char *argv[]) bindtextdomain(PACKAGE, GNOMELOCALEDIR); textdomain(PACKAGE); - client = gnome_client_new_default (); + gnome_init ("calendar", &parser, argc, argv, 0, NULL); + + client = gnome_master_client (); if (client){ gtk_signal_connect (GTK_OBJECT (client), "save_yourself", GTK_SIGNAL_FUNC (session_save_state), argv [0]); gtk_signal_connect (GTK_OBJECT (client), "die", GTK_SIGNAL_FUNC (session_die), NULL); } - gnome_init ("calendar", &parser, argc, argv, 0, NULL); process_dates (); alarm_init (); |