diff --git a/src/imageui.c b/src/imageui.c index b10e5fa..2c724c0 100644 --- a/src/imageui.c +++ b/src/imageui.c @@ -157,7 +157,7 @@ imageui_set_property(GObject *object, { Imageui *imageui = (Imageui *) object; - double zoom; + double zoom; #ifdef DEBUG_VERBOSE { @@ -211,7 +211,7 @@ imageui_get_property(GObject *object, { Imageui *imageui = IMAGEUI(object); - double zoom; + double zoom; switch (prop_id) { case PROP_TILESOURCE: diff --git a/src/imagewindow.c b/src/imagewindow.c index 1e8b2e1..3fce77e 100644 --- a/src/imagewindow.c +++ b/src/imagewindow.c @@ -509,7 +509,7 @@ imagewindow_posteval(VipsImage *image, gtk_action_bar_set_revealed(GTK_ACTION_BAR(win->progress_bar), FALSE); } -/* Save and restore view setttings. +/* Save and restore view settings. */ static void diff --git a/src/tilesource.c b/src/tilesource.c index 9e5316f..e011c13 100644 --- a/src/tilesource.c +++ b/src/tilesource.c @@ -164,7 +164,7 @@ tilesource_open(Tilesource *tilesource, int level) "page", level, NULL); } - else if (vips_isprefix("webp", tilesource->loader) || + else if (vips_isprefix("webp", tilesource->loader) || vips_isprefix("gif", tilesource->loader) || vips_isprefix("jxl", tilesource->loader)) { /* These formats have pages all the same size and support page and n. @@ -210,7 +210,7 @@ tilesource_render_notify_idle(void *user_data) } /* Come here from the vips_sink_screen() background thread when a tile has been - * calculated. This is a bbackground thread, so we add an idle callback + * calculated. This is a background thread, so we add an idle callback * which will be run by the main thread when it next hits the mainloop. */ static void @@ -783,7 +783,7 @@ tilesource_set_property(GObject *object, int i; double d; gboolean b; - TilesourceMode mode; + TilesourceMode mode; #ifdef DEBUG { @@ -1228,9 +1228,9 @@ tilesource_print(Tilesource *tilesource) printf("\tpages_same_size = %d\n", tilesource->pages_same_size); printf("\tall_mono = %d\n", tilesource->all_mono); printf("\ttype = %s\n", - vips_enum_nick(TYPE_SOURCE_TYPE, tilesource->type)); + vips_enum_nick(TYPE_TYPE, tilesource->type)); printf("\tmode = %s\n", - vips_enum_nick(TYPE_SOURCE_MODE, tilesource->mode)); + vips_enum_nick(TYPE_MODE, tilesource->mode)); printf("\tdelay = %p\n", tilesource->delay); printf("\tn_delay = %d\n", tilesource->n_delay); printf("\tdisplay_width = %d\n", tilesource->display_width); diff --git a/src/vipsdisp.h b/src/vipsdisp.h index 6ecd038..d1b4387 100644 --- a/src/vipsdisp.h +++ b/src/vipsdisp.h @@ -33,14 +33,14 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS #define FREESID(SID, OBJ) \ - G_STMT_START \ + G_STMT_START \ { \ if ((SID) && (OBJ)) { \ g_signal_handler_disconnect((OBJ), (SID)); \ (SID) = 0; \ } \ - } \ - G_STMT_END + } \ + G_STMT_END #include "enumtypes.h" #include "gtkutil.h"