aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsimon.zheng <simon.zheng@sun.com>2007-05-12 19:08:01 +0800
committerSimon Zheng <simonz@src.gnome.org>2007-05-12 19:08:01 +0800
commitec6c605ff1a81c697d675922b4e89c90df255e25 (patch)
tree80aa4d6be9af1194415b3c052202175738d53893
parent740e1a8960ad50bcd806af984ef236a1d4c4ffb8 (diff)
downloadgsoc2013-evolution-ec6c605ff1a81c697d675922b4e89c90df255e25.tar
gsoc2013-evolution-ec6c605ff1a81c697d675922b4e89c90df255e25.tar.gz
gsoc2013-evolution-ec6c605ff1a81c697d675922b4e89c90df255e25.tar.bz2
gsoc2013-evolution-ec6c605ff1a81c697d675922b4e89c90df255e25.tar.lz
gsoc2013-evolution-ec6c605ff1a81c697d675922b4e89c90df255e25.tar.xz
gsoc2013-evolution-ec6c605ff1a81c697d675922b4e89c90df255e25.tar.zst
gsoc2013-evolution-ec6c605ff1a81c697d675922b4e89c90df255e25.zip
The last arguments in API gtk_clipboard_set_text() should be the length of
2007-05-12 simon.zheng <simon.zheng@sun.com> * gui/e-calendar-view.c: (e_calendar_view_copy_clipboard): The last arguments in API gtk_clipboard_set_text() should be the length of string in bytes rather than in characters. svn path=/branches/gnome-2-18/; revision=33518
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/e-calendar-view.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 4b71844151..147ffad2ad 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-12 simon.zheng <simon.zheng@sun.com>
+
+ * gui/e-calendar-view.c: (e_calendar_view_copy_clipboard):
+ The last arguments in API gtk_clipboard_set_text() should be
+ the length of string in bytes rather than in characters.
+
2007-04-10 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #329168 from Andre Klapper
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index 6ab0e7f908..a3e856609c 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -765,7 +765,7 @@ e_calendar_view_copy_clipboard (ECalendarView *cal_view)
comp_str = icalcomponent_as_ical_string (vcal_comp);
gtk_clipboard_set_text (gtk_widget_get_clipboard (GTK_WIDGET (cal_view), clipboard_atom),
(const gchar *) comp_str,
- g_utf8_strlen (comp_str, -1));
+ strlen (comp_str));
/* free memory */
icalcomponent_free (vcal_comp);