From 79f1b787b5dfe84dec4e14f18cad33065edf9825 Mon Sep 17 00:00:00 2001 From: Carsten Schaar Date: Wed, 7 Oct 1998 19:29:45 +0000 Subject: Replaced the 'gnome_client_new_default' call with 'gnome_master_client'. * main.c (main): Replaced the 'gnome_client_new_default' call with 'gnome_master_client'. svn path=/trunk/; revision=431 --- calendar/ChangeLog | 5 +++++ calendar/gui/main.c | 5 +++-- 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 + + * main.c (main): Replaced the 'gnome_client_new_default' call with + 'gnome_master_client'. + 1998-10-02 Federico Mena Quintero * 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 (); -- cgit v1.2.3