diff options
author | Jeff Garzik <jgarzik@src.gnome.org> | 1998-12-31 05:05:50 +0800 |
---|---|---|
committer | Jeff Garzik <jgarzik@src.gnome.org> | 1998-12-31 05:05:50 +0800 |
commit | 50cf0246c0732ee0cc62ff9e8011614c9e928ebb (patch) | |
tree | 8d543783832ce64f120e43f86163b39b11b629f8 /calendar/gui/gnome-cal.c | |
parent | 60d1b615def976758bbe3c6b95a87750774ac893 (diff) | |
download | gsoc2013-evolution-50cf0246c0732ee0cc62ff9e8011614c9e928ebb.tar.gz gsoc2013-evolution-50cf0246c0732ee0cc62ff9e8011614c9e928ebb.tar.zst gsoc2013-evolution-50cf0246c0732ee0cc62ff9e8011614c9e928ebb.zip |
s/g_copy_strings/g_strconcat/
svn path=/trunk/; revision=566
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r-- | calendar/gui/gnome-cal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 5403fd3a94..51cda3472f 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -188,7 +188,7 @@ gnome_calendar_new (char *title) gcal = GNOME_CALENDAR (retval); app->name = g_strdup ("calendar"); - app->prefix = g_copy_strings ("/", app->name, "/", NULL); + app->prefix = g_strconcat ("/", app->name, "/", NULL); gtk_window_set_title(GTK_WINDOW(retval), title); @@ -329,7 +329,7 @@ mail_notify (char *mail_address, char *text, time_t app_time) mail_address, NULL); _exit (127); } - command = g_copy_strings ("To: ", mail_address, "\n", + command = g_strconcat ("To: ", mail_address, "\n", "Subject: ", _("Reminder of your appointment at "), ctime (&app_time), "\n\n", text, "\n", NULL); write (p [1], command, strlen (command)); @@ -365,7 +365,7 @@ calendar_notify (time_t time, CalendarAlarm *which, void *data) GtkWidget *w; char *msg; - msg = g_copy_strings (_("Reminder of your appointment at "), + msg = g_strconcat (_("Reminder of your appointment at "), ctime (&app), "`", ico->summary, "'", NULL); @@ -395,7 +395,7 @@ calendar_notify (time_t time, CalendarAlarm *which, void *data) GtkWidget *w; char *msg; - msg = g_copy_strings (_("Reminder of your appointment at "), + msg = g_strconcat (_("Reminder of your appointment at "), ctime (&app), "`", ico->summary, "'", NULL); w = gnome_message_box_new (msg, GNOME_MESSAGE_BOX_INFO, "Ok", NULL); |