Mercurial > geeqie.yaz
diff src/thumb.c @ 1346:c9949c19a6d0
No space between function name and first parenthesis, it eases greping (see CODING).
author | zas_ |
---|---|
date | Sat, 28 Feb 2009 20:48:47 +0000 |
parents | 10073464e6aa |
children | 249bf204004a |
line wrap: on
line diff
--- a/src/thumb.c Sat Feb 28 20:24:42 2009 +0000 +++ b/src/thumb.c Sat Feb 28 20:48:47 2009 +0000 @@ -163,7 +163,7 @@ thumb_loader_setup(tl, tl->fd->path); - g_signal_connect (G_OBJECT(tl->il), "done", (GCallback)thumb_loader_done_cb, tl); + g_signal_connect(G_OBJECT(tl->il), "done", (GCallback)thumb_loader_done_cb, tl); if (!image_loader_start(tl->il)) { @@ -276,8 +276,8 @@ image_loader_set_requested_size(tl->il, tl->max_w, tl->max_h); } - g_signal_connect (G_OBJECT(tl->il), "error", (GCallback)thumb_loader_error_cb, tl); - if (tl->func_progress) g_signal_connect (G_OBJECT(tl->il), "percent", (GCallback)thumb_loader_percent_cb, tl); + g_signal_connect(G_OBJECT(tl->il), "error", (GCallback)thumb_loader_error_cb, tl); + if (tl->func_progress) g_signal_connect(G_OBJECT(tl->il), "percent", (GCallback)thumb_loader_percent_cb, tl); } void thumb_loader_set_callbacks(ThumbLoader *tl, @@ -389,7 +389,7 @@ thumb_loader_setup(tl, tl->fd->path); } - g_signal_connect (G_OBJECT(tl->il), "done", (GCallback)thumb_loader_done_cb, tl); + g_signal_connect(G_OBJECT(tl->il), "done", (GCallback)thumb_loader_done_cb, tl); if (!image_loader_start(tl->il)) { /* try from original if cache attempt */ @@ -399,7 +399,7 @@ log_printf("%s", _("Thumbnail image in cache failed to load, trying to recreate.\n")); thumb_loader_setup(tl, tl->fd->path); - g_signal_connect (G_OBJECT(tl->il), "done", (GCallback)thumb_loader_done_cb, tl); + g_signal_connect(G_OBJECT(tl->il), "done", (GCallback)thumb_loader_done_cb, tl); if (image_loader_start(tl->il)) return TRUE; } /* mark failed thumbnail in cache with 0 byte file */