diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-04-06 14:09:12 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-04-06 14:40:29 +0200 |
commit | b2f34dcf74095d52097d9c4b97beb8365bec23eb (patch) | |
tree | 1c07e6de82aa3a3d0e6930602b208f166c0e8129 /src | |
parent | 2b29446d1f22ef3557cfdf63c3df701b6834ff36 (diff) |
We do not use gib_imlib_load_image; comment it out
Diffstat (limited to 'src')
-rw-r--r-- | src/gib_imlib.c | 3 | ||||
-rw-r--r-- | src/gib_imlib.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gib_imlib.c b/src/gib_imlib.c index be3b427..39d0081 100644 --- a/src/gib_imlib.c +++ b/src/gib_imlib.c @@ -27,6 +27,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "utils.h" #include "debug.h" +/* int gib_imlib_load_image(Imlib_Image * im, char *filename) { @@ -38,7 +39,6 @@ gib_imlib_load_image(Imlib_Image * im, char *filename) *im = imlib_load_image_with_error_return(filename, &err); if ((err) || (!im)) { - /* Check error code */ switch (err) { case IMLIB_LOAD_ERROR_FILE_DOES_NOT_EXIST: @@ -91,6 +91,7 @@ gib_imlib_load_image(Imlib_Image * im, char *filename) } return (1); } +*/ int gib_imlib_image_get_width(Imlib_Image im) diff --git a/src/gib_imlib.h b/src/gib_imlib.h index 07daabe..6a35e7e 100644 --- a/src/gib_imlib.h +++ b/src/gib_imlib.h @@ -47,7 +47,9 @@ extern "C" { #endif +/* int gib_imlib_load_image(Imlib_Image * im, char *filename); +*/ int gib_imlib_image_get_width(Imlib_Image im); int gib_imlib_image_get_height(Imlib_Image im); int gib_imlib_image_has_alpha(Imlib_Image im); |