From 4bff733352f608744e86328deb443d68ce666f7d Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 30 Dec 2009 04:30:25 +0100 Subject: Basic adding and assigning of tags implemented. Committing this before it gets out of hand. Only adding new tags is working atm. Created a text input dialog. Added a tag dialog. Other minor changes. --- thumbnails.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'thumbnails.c') diff --git a/thumbnails.c b/thumbnails.c index e88c19d..33b0573 100644 --- a/thumbnails.c +++ b/thumbnails.c @@ -98,20 +98,6 @@ GdkPixbuf *get_thumbnail(const gchar *filepath) { return pb2; } -static void fill_wall_list(GtkListStore *liststore, GArray *array) { - GtkTreeIter iter; - - for(int i = 0; i < array->len; i++) { - struct wallpaper_t *wall; - wall = &g_array_index(array, struct wallpaper_t, i); - - gtk_list_store_append(liststore, &iter); - gtk_list_store_set(liststore, &iter, 0, NULL, 1, wall->filepath, -1); - g_free(wall->filepath); - } - g_array_free(array, TRUE); -} - gpointer add_thumbs_thread(gpointer data) { GtkListStore *liststore; GtkTreeIter iter; -- cgit v1.2.3