dont return null fi images doesnt exist.. obejct creation shoudl ALWAYs

succeed!


SVN revision: 3934
This commit is contained in:
Carsten Haitzler 2000-11-29 04:49:22 +00:00
parent 1c76190a4b
commit e14aa620c2
5 changed files with 6 additions and 8 deletions

View File

@ -1,5 +1,5 @@
-------------------------------------------------------------------------------
E V A S - 0.0.1
E V A S - 0.0.2
-------------------------------------------------------------------------------
This is the ``E Canvas'' - a rip off of some of the other canvas's floating

View File

@ -1,6 +1,6 @@
AC_INIT(src/Evas.h)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(evas, 0.0.1)
AM_INIT_AUTOMAKE(evas, 0.0.2)
AC_C_BIGENDIAN
AC_PROG_CC
AM_PROG_CC_STDC

View File

@ -1,6 +1,6 @@
# this is NOT relocatable, unless you alter the patch!
%define name evas
%define ver 0.0.1
%define ver 0.0.2
%define rel 1
%define prefix /usr
@ -14,7 +14,7 @@ Version: %{ver}
Release: %{rel}
Copyright: BSD
Group: User Interface/X
URL: http://www.enlightenment.org/efm.html
URL: http://www.enlightenment.org/
Packager: Term <kempler@utdallas.edu>
Vendor: The Enlightenment Development Team <e-develop@enlightenment.org>
Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{ver}.tar.gz

View File

@ -59,4 +59,4 @@ Evas_private.h
libevas_la_LIBADD = $(LIBS_ALL)
libevas_la_DEPENDENCIES = $(top_builddir)/config.h
libevas_la_LDFLAGS = -version-info 0:1:0
libevas_la_LDFLAGS = -version-info 0:2:0

View File

@ -65,8 +65,6 @@ evas_add_image_from_file(Evas e, char *file)
oo->current.image.w = imlib_image_get_width();
oo->current.image.h = imlib_image_get_height();
imlib_free_image();
} else if(!im){
return NULL;
}
}
}