aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorsimon.zheng <simon.zheng@sun.com>2007-05-12 19:16:45 +0800
committerSimon Zheng <simonz@src.gnome.org>2007-05-12 19:16:45 +0800
commit79776e06918e76d556564365b509a2895b5f9886 (patch)
tree4a80501c712990fdf50e8113e9c4c8193dac0efd /calendar
parent7335b6905ce2ba077fa0aabf5a629b061e9ad6fa (diff)
downloadgsoc2013-evolution-79776e06918e76d556564365b509a2895b5f9886.tar.gz
gsoc2013-evolution-79776e06918e76d556564365b509a2895b5f9886.tar.zst
gsoc2013-evolution-79776e06918e76d556564365b509a2895b5f9886.zip
** Fix for bug #427789
2007-05-12 simon.zheng <simon.zheng@sun.com> ** Fix for bug #427789 * 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=/trunk/; revision=33519
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog8
-rw-r--r--calendar/gui/e-calendar-view.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 141c4800a8..3d4f86aa58 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,11 @@
+2007-05-12 simon.zheng <simon.zheng@sun.com>
+
+ ** Fix for bug #427789
+
+ * 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-05-11 Srinivasa Ragavan <sragavan@novell.com>
* gui/GNOME_Evolution_Calendar.server.in.in: Add tango icon to
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index c97dc3df59..f8cd8d212f 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);