Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        remote_thumbnailer.c 


Log Message:
* dlsym--

===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/plugins/remote_thumbnailer.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- remote_thumbnailer.c        2 Apr 2006 05:47:38 -0000       1.12
+++ remote_thumbnailer.c        3 Apr 2006 08:31:35 -0000       1.13
@@ -47,12 +47,6 @@
 entropy_thumbnailer_thumbnail_get (entropy_thumbnail_request * request)
 {
   entropy_thumbnail *thumb = NULL;
-  entropy_plugin *plugin =
-    entropy_plugins_type_get_first (ENTROPY_PLUGIN_BACKEND_FILE,
-                                   ENTROPY_PLUGIN_SUB_TYPE_ALL);
-  void (*copy_func) (entropy_generic_file * source, char *dest_uri,
-                    entropy_gui_component_instance * requester);
-  copy_func = dlsym (plugin->dl_ref, "entropy_filesystem_file_copy");
 
   /*This thumbnailer is only for remote files */
   if (!strcmp (request->file->uri_base, "file"))
@@ -69,7 +63,7 @@
 
   //printf("Requested a remote thumbnail for '%s://%s/%s\n", 
request->file->uri_base, request->file->path, request->file->filename);
 
-  (*copy_func) (request->file, TMP_THUMBNAIL, local_instance);
+  entropy_plugin_filesystem_file_copy (request->file, TMP_THUMBNAIL, 
local_instance);
   ecore_hash_set (file_instance_hash, request->file->md5, request->instance);
   //printf("md5: '%s'\n", md5);
 




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to