aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.c
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/gui/e-calendar-view.c
parent7335b6905ce2ba077fa0aabf5a629b061e9ad6fa (diff)
downloadgsoc2013-evolution-79776e06918e76d556564365b509a2895b5f9886.tar
gsoc2013-evolution-79776e06918e76d556564365b509a2895b5f9886.tar.gz
gsoc2013-evolution-79776e06918e76d556564365b509a2895b5f9886.tar.bz2
gsoc2013-evolution-79776e06918e76d556564365b509a2895b5f9886.tar.lz
gsoc2013-evolution-79776e06918e76d556564365b509a2895b5f9886.tar.xz
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/gui/e-calendar-view.c')
-rw-r--r--calendar/gui/e-calendar-view.c2
1 files changed, 1 insertions, 1 deletions
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);