[gthumb] removed duplicated code
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] removed duplicated code
- Date: Sun, 25 Mar 2012 17:42:13 +0000 (UTC)
commit 402c96e2dcdb4705537088e6a3a99cfa77ec9077
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Mar 25 19:40:06 2012 +0200
removed duplicated code
gthumb/gth-tags-entry.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/gthumb/gth-tags-entry.c b/gthumb/gth-tags-entry.c
index 9861b11..5658dba 100644
--- a/gthumb/gth-tags-entry.c
+++ b/gthumb/gth-tags-entry.c
@@ -545,15 +545,6 @@ update_completion_list (GthTagsEntry *self)
g_strfreev (self->priv->tags);
self->priv->tags = g_strdupv (gth_tags_file_get_tags (tags));
- for (i = 0; self->priv->tags[i] != NULL; i++) {
- GtkTreeIter iter;
-
- gtk_list_store_append (self->priv->completion_store, &iter);
- gtk_list_store_set (self->priv->completion_store, &iter,
- COMPLETION_NAME_COLUMN, self->priv->tags[i],
- -1);
- }
-
gtk_list_store_clear (self->priv->completion_store);
for (i = 0; self->priv->tags[i] != NULL; i++) {
GtkTreeIter iter;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]