[gthumb] Allow to create tags with spaces
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] Allow to create tags with spaces
- Date: Fri, 27 Aug 2010 07:55:30 +0000 (UTC)
commit 1c656fa09806d8f2e02ea30b21c05c1d90e5dcd0
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Aug 27 09:55:07 2010 +0200
Allow to create tags with spaces
[bug #628081]
gthumb/gth-tags-entry.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gthumb/gth-tags-entry.c b/gthumb/gth-tags-entry.c
index 3db7fe8..84d80d9 100644
--- a/gthumb/gth-tags-entry.c
+++ b/gthumb/gth-tags-entry.c
@@ -148,7 +148,6 @@ get_tag_limits (GthTagsEntry *self,
const char *cursor_start;
const char *tag_start;
const char *tag_end;
- const char *tmp_tag_end;
text = gtk_entry_get_text (GTK_ENTRY (self->priv->entry));
cursor_start = g_utf8_offset_to_pointer (text, gtk_editable_get_position (GTK_EDITABLE (self->priv->entry)));
@@ -174,10 +173,6 @@ get_tag_limits (GthTagsEntry *self,
while ((tag_start != tag_end) && g_unichar_isspace (g_utf8_get_char (tag_start)))
tag_start = g_utf8_next_char (tag_start);
- tmp_tag_end = g_utf8_strrchr (tag_start, tag_end - tag_start, ' ');
- if (tmp_tag_end != NULL)
- tag_end = tmp_tag_end;
-
*tag_start_p = tag_start;
*tag_end_p = tag_end;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]