summaryrefslogtreecommitdiffstats
path: root/debian/imlib/imlib-1.9.15/gdk_imlib/t-load.c
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-09-11 14:38:47 +0900
committerMichele Calgaro <[email protected]>2020-09-11 14:38:47 +0900
commit884c8093d63402a1ad0b502244b791e3c6782be3 (patch)
treea600d4ab0d431a2bdfe4c15b70df43c14fbd8dd0 /debian/imlib/imlib-1.9.15/gdk_imlib/t-load.c
parent14e1aa2006796f147f3f4811fb908a6b01e79253 (diff)
downloadextra-dependencies-884c8093d63402a1ad0b502244b791e3c6782be3.tar.gz
extra-dependencies-884c8093d63402a1ad0b502244b791e3c6782be3.zip
Added debian extra dependency packages.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'debian/imlib/imlib-1.9.15/gdk_imlib/t-load.c')
-rw-r--r--debian/imlib/imlib-1.9.15/gdk_imlib/t-load.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/imlib/imlib-1.9.15/gdk_imlib/t-load.c b/debian/imlib/imlib-1.9.15/gdk_imlib/t-load.c
new file mode 100644
index 00000000..fa3df7fc
--- /dev/null
+++ b/debian/imlib/imlib-1.9.15/gdk_imlib/t-load.c
@@ -0,0 +1,23 @@
+#include <stdio.h>
+#include "gdk_imlib.h"
+
+
+int
+main( int ac, char* av[] )
+{
+ GdkImlibImage* img;
+
+ if (ac != 2) {
+ fprintf( stderr, "usage: %s filename\n", av[0] );
+ return 33;
+ }
+
+ img = gdk_imlib_load_image( av[1] );
+
+ if ( img == NULL ) {
+ fprintf( stderr, "failed to load file '%s'.\n", av[1] );
+ return 1;
+ }
+
+ return 0;
+}