forked from enlightenment/efl
dont return null fi images doesnt exist.. obejct creation shoudl ALWAYs
succeed! SVN revision: 3934
This commit is contained in:
parent
1c76190a4b
commit
e14aa620c2
|
@ -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
|
This is the ``E Canvas'' - a rip off of some of the other canvas's floating
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
AC_INIT(src/Evas.h)
|
AC_INIT(src/Evas.h)
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
AM_INIT_AUTOMAKE(evas, 0.0.1)
|
AM_INIT_AUTOMAKE(evas, 0.0.2)
|
||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AM_PROG_CC_STDC
|
AM_PROG_CC_STDC
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# this is NOT relocatable, unless you alter the patch!
|
# this is NOT relocatable, unless you alter the patch!
|
||||||
%define name evas
|
%define name evas
|
||||||
%define ver 0.0.1
|
%define ver 0.0.2
|
||||||
%define rel 1
|
%define rel 1
|
||||||
%define prefix /usr
|
%define prefix /usr
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Version: %{ver}
|
||||||
Release: %{rel}
|
Release: %{rel}
|
||||||
Copyright: BSD
|
Copyright: BSD
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
URL: http://www.enlightenment.org/efm.html
|
URL: http://www.enlightenment.org/
|
||||||
Packager: Term <kempler@utdallas.edu>
|
Packager: Term <kempler@utdallas.edu>
|
||||||
Vendor: The Enlightenment Development Team <e-develop@enlightenment.org>
|
Vendor: The Enlightenment Development Team <e-develop@enlightenment.org>
|
||||||
Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{ver}.tar.gz
|
Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{ver}.tar.gz
|
||||||
|
|
|
@ -59,4 +59,4 @@ Evas_private.h
|
||||||
|
|
||||||
libevas_la_LIBADD = $(LIBS_ALL)
|
libevas_la_LIBADD = $(LIBS_ALL)
|
||||||
libevas_la_DEPENDENCIES = $(top_builddir)/config.h
|
libevas_la_DEPENDENCIES = $(top_builddir)/config.h
|
||||||
libevas_la_LDFLAGS = -version-info 0:1:0
|
libevas_la_LDFLAGS = -version-info 0:2:0
|
||||||
|
|
|
@ -65,9 +65,7 @@ evas_add_image_from_file(Evas e, char *file)
|
||||||
oo->current.image.w = imlib_image_get_width();
|
oo->current.image.w = imlib_image_get_width();
|
||||||
oo->current.image.h = imlib_image_get_height();
|
oo->current.image.h = imlib_image_get_height();
|
||||||
imlib_free_image();
|
imlib_free_image();
|
||||||
} else if(!im){
|
}
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
oo->current.fill.x = 0;
|
oo->current.fill.x = 0;
|
||||||
|
|
Loading…
Reference in New Issue