[gimp/metadata-browser] plug-ins: remove unused "labels" variable, leftover from GtkTree code
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] plug-ins: remove unused "labels" variable, leftover from GtkTree code
- Date: Wed, 12 Sep 2012 22:10:33 +0000 (UTC)
commit d1933cf52c3f2774ba05a320a82162e24f6ded3e
Author: Michael Natterer <mitch gimp org>
Date: Thu Oct 27 09:32:48 2011 +0200
plug-ins: remove unused "labels" variable, leftover from GtkTree code
plug-ins/common/plugin-browser.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/plug-ins/common/plugin-browser.c b/plug-ins/common/plugin-browser.c
index 2528fdb..7184f83 100644
--- a/plug-ins/common/plugin-browser.c
+++ b/plug-ins/common/plugin-browser.c
@@ -310,7 +310,6 @@ insert_into_tree_view (PluginBrowser *browser,
const gchar *types_str,
PInfo *pinfo)
{
- gchar *labels[3];
gchar *str_ptr;
gchar *tmp_ptr;
GtkTreeIter parent, iter;
@@ -335,12 +334,6 @@ insert_into_tree_view (PluginBrowser *browser,
get_parent (browser, tmp_ptr, &parent);
- /* Last was a leaf */
- /* printf("found leaf %s parent = %p\n",leaf_ptr,parent); */
- labels[0] = g_strdup (name);
- labels[1] = g_strdup (xtimestr);
- labels[2] = g_strdup (types_str);
-
tree_store = GTK_TREE_STORE (gtk_tree_view_get_model (browser->tree_view));
gtk_tree_store_append (tree_store, &iter, &parent);
gtk_tree_store_set (tree_store, &iter,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]