Skip to content

Commit 06b146e

Browse files
committed
Reformat and polish
1 parent 49eda11 commit 06b146e

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/imageui.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ imageui_set_property(GObject *object,
157157
{
158158
Imageui *imageui = (Imageui *) object;
159159

160-
double zoom;
160+
double zoom;
161161

162162
#ifdef DEBUG_VERBOSE
163163
{
@@ -211,7 +211,7 @@ imageui_get_property(GObject *object,
211211
{
212212
Imageui *imageui = IMAGEUI(object);
213213

214-
double zoom;
214+
double zoom;
215215

216216
switch (prop_id) {
217217
case PROP_TILESOURCE:

src/tilesource.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ tilesource_open(Tilesource *tilesource, int level)
164164
"page", level,
165165
NULL);
166166
}
167-
else if (vips_isprefix("webp", tilesource->loader) ||
167+
else if (vips_isprefix("webp", tilesource->loader) ||
168168
vips_isprefix("gif", tilesource->loader) ||
169169
vips_isprefix("jxl", tilesource->loader)) {
170170
/* These formats have pages all the same size and support page and n.
@@ -210,7 +210,7 @@ tilesource_render_notify_idle(void *user_data)
210210
}
211211

212212
/* Come here from the vips_sink_screen() background thread when a tile has been
213-
* calculated. This is a bbackground thread, so we add an idle callback
213+
* calculated. This is a background thread, so we add an idle callback
214214
* which will be run by the main thread when it next hits the mainloop.
215215
*/
216216
static void
@@ -783,7 +783,7 @@ tilesource_set_property(GObject *object,
783783
int i;
784784
double d;
785785
gboolean b;
786-
TilesourceMode mode;
786+
TilesourceMode mode;
787787

788788
#ifdef DEBUG
789789
{
@@ -1228,9 +1228,9 @@ tilesource_print(Tilesource *tilesource)
12281228
printf("\tpages_same_size = %d\n", tilesource->pages_same_size);
12291229
printf("\tall_mono = %d\n", tilesource->all_mono);
12301230
printf("\ttype = %s\n",
1231-
vips_enum_nick(TYPE_SOURCE_TYPE, tilesource->type));
1231+
vips_enum_nick(TYPE_TYPE, tilesource->type));
12321232
printf("\tmode = %s\n",
1233-
vips_enum_nick(TYPE_SOURCE_MODE, tilesource->mode));
1233+
vips_enum_nick(TYPE_MODE, tilesource->mode));
12341234
printf("\tdelay = %p\n", tilesource->delay);
12351235
printf("\tn_delay = %d\n", tilesource->n_delay);
12361236
printf("\tdisplay_width = %d\n", tilesource->display_width);

src/vipsdisp.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
3434

3535
#define FREESID(SID, OBJ) \
36-
G_STMT_START \
36+
G_STMT_START \
3737
{ \
3838
if ((SID) && (OBJ)) { \
3939
g_signal_handler_disconnect((OBJ), (SID)); \
4040
(SID) = 0; \
4141
} \
42-
} \
43-
G_STMT_END
42+
} \
43+
G_STMT_END
4444

4545
#include "enumtypes.h"
4646
#include "gtkutil.h"

0 commit comments

Comments
 (0)