Commit 9adf67e2 authored by Michael Natterer's avatar Michael Natterer 😴

plug-ins: remove unused "labels" variable, leftover from GtkTree code

parent 018cdc7a
......@@ -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,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment