This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository legacy-imlib2.
View the commit online.
commit 19028a4ca304969a692f494bccc7d5b552e5c35c
Author: Kim Woelders <[email protected]>
AuthorDate: Tue Nov 22 17:03:35 2022 +0100
image: Cosmetics (slightly more consisent naming)
---
src/lib/Imlib2_Loader.h | 4 ++--
src/lib/image.c | 12 ++++++------
src/lib/image.h | 4 ++--
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/lib/Imlib2_Loader.h b/src/lib/Imlib2_Loader.h
index c0a40f5..fe01dfa 100644
--- a/src/lib/Imlib2_Loader.h
+++ b/src/lib/Imlib2_Loader.h
@@ -121,7 +121,7 @@ typedef struct _ImlibImageFileInfo {
off_t fsize;
} ImlibImageFileInfo;
-typedef struct _imlibldctx ImlibLdCtx;
+typedef struct _ImlibLoaderCtx ImlibLoaderCtx;
typedef struct _ImlibImageTag {
char *key;
@@ -144,7 +144,7 @@ typedef struct {
struct _ImlibImage {
ImlibImageFileInfo *fi;
- ImlibLdCtx *lc;
+ ImlibLoaderCtx *lc;
int w, h;
uint32_t *data;
diff --git a/src/lib/image.c b/src/lib/image.c
index b7b9f17..436f517 100644
--- a/src/lib/image.c
+++ b/src/lib/image.c
@@ -37,7 +37,7 @@ struct _ImlibImageFileInfo {
#define DP(fmt...) DC(DBG_LOAD, fmt)
/* Imlib loader context */
-struct _imlibldctx {
+struct _ImlibLoaderCtx {
ImlibProgressFunction progress;
char granularity;
int pct, area, row;
@@ -420,7 +420,7 @@ __imlib_LoadImageWrapper(const ImlibLoader * l, ImlibImage * im, int load_data)
}
static void
-__imlib_LoadCtxInit(ImlibImage * im, ImlibLdCtx * lc,
+__imlib_LoadCtxInit(ImlibImage * im, ImlibLoaderCtx * lc,
ImlibProgressFunction prog, int gran)
{
im->lc = lc;
@@ -460,7 +460,7 @@ __imlib_LoadImage(const char *file, ImlibLoadArgs * ila)
ImlibImage *im;
ImlibLoader **loaders, *best_loader, *l, *previous_l;
int err, loader_ret;
- ImlibLdCtx ilc;
+ ImlibLoaderCtx ilc;
struct stat st;
char *im_file, *im_key;
@@ -747,7 +747,7 @@ __imlib_LoadProgressSetPass(ImlibImage * im, int pass, int n_pass)
__EXPORT__ int
__imlib_LoadProgress(ImlibImage * im, int x, int y, int w, int h)
{
- ImlibLdCtx *lc = im->lc;
+ ImlibLoaderCtx *lc = im->lc;
int rc;
lc->area += w * h;
@@ -761,7 +761,7 @@ __imlib_LoadProgress(ImlibImage * im, int x, int y, int w, int h)
__EXPORT__ int
__imlib_LoadProgressRows(ImlibImage * im, int row, int nrows)
{
- ImlibLdCtx *lc = im->lc;
+ ImlibLoaderCtx *lc = im->lc;
int col = 0;
int rc = 0;
int pct, nrtot;
@@ -842,7 +842,7 @@ void
__imlib_SaveImage(ImlibImage * im, const char *file, ImlibLoadArgs * ila)
{
ImlibLoader *l;
- ImlibLdCtx ilc;
+ ImlibLoaderCtx ilc;
int loader_ret;
if (!file)
diff --git a/src/lib/image.h b/src/lib/image.h
index 1d9b684..8d3e9f1 100644
--- a/src/lib/image.h
+++ b/src/lib/image.h
@@ -28,7 +28,7 @@ typedef int (*ImlibProgressFunction)(ImlibImage * im, char percent,
typedef struct _ImlibImageFileInfo ImlibImageFileInfo;
-typedef struct _imlibldctx ImlibLdCtx;
+typedef struct _ImlibLoaderCtx ImlibLoaderCtx;
typedef struct {
int left, right, top, bottom;
@@ -55,7 +55,7 @@ typedef struct {
struct _ImlibImage {
ImlibImageFileInfo *fi;
- ImlibLdCtx *lc;
+ ImlibLoaderCtx *lc;
int w, h;
uint32_t *data;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.