diff options
author | Carsten Schaar <carsten@src.gnome.org> | 1998-10-08 03:29:45 +0800 |
---|---|---|
committer | Carsten Schaar <carsten@src.gnome.org> | 1998-10-08 03:29:45 +0800 |
commit | 79f1b787b5dfe84dec4e14f18cad33065edf9825 (patch) | |
tree | a4f1fa5c3328ca5656ec15f0b4eb19396c49667e /calendar/main.c | |
parent | d8354e18204c54eb8660a6f4817409186d3053bc (diff) | |
download | gsoc2013-evolution-79f1b787b5dfe84dec4e14f18cad33065edf9825.tar gsoc2013-evolution-79f1b787b5dfe84dec4e14f18cad33065edf9825.tar.gz gsoc2013-evolution-79f1b787b5dfe84dec4e14f18cad33065edf9825.tar.bz2 gsoc2013-evolution-79f1b787b5dfe84dec4e14f18cad33065edf9825.tar.lz gsoc2013-evolution-79f1b787b5dfe84dec4e14f18cad33065edf9825.tar.xz gsoc2013-evolution-79f1b787b5dfe84dec4e14f18cad33065edf9825.tar.zst gsoc2013-evolution-79f1b787b5dfe84dec4e14f18cad33065edf9825.zip |
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
Diffstat (limited to 'calendar/main.c')
-rw-r--r-- | calendar/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 (); |