Skip to content

Instantly share code, notes, and snippets.

@onlyshk
Created August 13, 2010 08:48
Show Gist options
  • Save onlyshk/522561 to your computer and use it in GitHub Desktop.
Save onlyshk/522561 to your computer and use it in GitHub Desktop.
int i = atoi(gtk_tree_path_to_string(elements->data));
const char* del_path = g_list_nth_data(thumbnail_loaded_list, i);
GFile* file = g_file_new_for_path (del_path);
const char* a = g_file_get_basename(file);
image_list_set_current (mw->img_list,a);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment