aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorCarsten Schaar <carsten@src.gnome.org>1998-10-08 03:29:45 +0800
committerCarsten Schaar <carsten@src.gnome.org>1998-10-08 03:29:45 +0800
commit79f1b787b5dfe84dec4e14f18cad33065edf9825 (patch)
treea4f1fa5c3328ca5656ec15f0b4eb19396c49667e /calendar
parentd8354e18204c54eb8660a6f4817409186d3053bc (diff)
downloadgsoc2013-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')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/main.c5
-rw-r--r--calendar/main.c5
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 ();