[nautilus] eel-editable-label: Fix string length on retrieve-surrounding handler
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] eel-editable-label: Fix string length on retrieve-surrounding handler
- Date: Mon, 25 Mar 2013 17:31:46 +0000 (UTC)
commit 670875d76ed212e0bb9d071ef79b56fa6dacae2a
Author: Rui Matos <tiagomatos gmail com>
Date: Mon Mar 25 15:29:37 2013 +0100
eel-editable-label: Fix string length on retrieve-surrounding handler
https://bugzilla.gnome.org/show_bug.cgi?id=696532
eel/eel-editable-label.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/eel/eel-editable-label.c b/eel/eel-editable-label.c
index 17f7e1b..243b655 100644
--- a/eel/eel-editable-label.c
+++ b/eel/eel-editable-label.c
@@ -2390,7 +2390,7 @@ eel_editable_label_retrieve_surrounding_cb (GtkIMContext *context,
{
gtk_im_context_set_surrounding (context,
label->text,
- strlen (label->text) + 1,
+ strlen (label->text),
label->selection_end);
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]