Enlightenment CVS committal
Author : ningerso
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_image.c
Log Message:
Remove some unnecessary embed lookups.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_image.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -3 -r1.45 -r1.46
--- ewl_image.c 30 Sep 2006 18:41:01 -0000 1.45
+++ ewl_image.c 30 Sep 2006 20:11:21 -0000 1.46
@@ -184,14 +184,12 @@
{
int old_type;
Ewl_Widget *w;
- Ewl_Embed *emb;
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("i", i);
DCHECK_TYPE("i", i, EWL_IMAGE_TYPE);
w = EWL_WIDGET(i);
- emb = ewl_embed_widget_find(w);
if (i->path != im) {
IF_FREE(i->path);
@@ -818,7 +816,6 @@
void *user_data __UNUSED__)
{
Ewl_Image *i;
- Ewl_Embed *emb;
int ww, hh;
int dx = 0, dy = 0;
@@ -829,8 +826,6 @@
i = EWL_IMAGE(w);
if (!i->image)
DRETURN(DLEVEL_STABLE);
-
- emb = ewl_embed_widget_find(w);
ww = CURRENT_W(w);
hh = CURRENT_H(w);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs