Skip to content

Commit

Permalink
We do not use gib_imlib_load_image; comment it out
Browse files Browse the repository at this point in the history
  • Loading branch information
derf committed Apr 6, 2023
1 parent 2b29446 commit b2f34dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gib_imlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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:
Expand Down Expand Up @@ -91,6 +91,7 @@ gib_imlib_load_image(Imlib_Image * im, char *filename)
}
return (1);
}
*/

int
gib_imlib_image_get_width(Imlib_Image im)
Expand Down
2 changes: 2 additions & 0 deletions src/gib_imlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b2f34dc

Please sign in to comment.