[tracker] tracker-extract: Small gif code style fixes
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract: Small gif code style fixes
- Date: Thu, 16 Sep 2010 15:59:34 +0000 (UTC)
commit 266c682de87fd1af9448c41270e29a97e182b535
Author: Martyn Russell <martyn lanedo com>
Date: Thu Sep 16 16:22:46 2010 +0100
tracker-extract: Small gif code style fixes
src/tracker-extract/tracker-extract-gif.c | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gif.c b/src/tracker-extract/tracker-extract-gif.c
index 190db0a..a68ae7b 100644
--- a/src/tracker-extract/tracker-extract-gif.c
+++ b/src/tracker-extract/tracker-extract-gif.c
@@ -445,11 +445,9 @@ extract_gif (const gchar *uri,
TrackerSparqlBuilder *preupdate,
TrackerSparqlBuilder *metadata)
{
- goffset size;
-
- GifFileType *gifFile = NULL;
-
- gchar *filename;
+ goffset size;
+ GifFileType *gifFile = NULL;
+ gchar *filename;
filename = g_filename_from_uri (uri, NULL, NULL);
size = tracker_file_get_size (filename);
@@ -459,8 +457,8 @@ extract_gif (const gchar *uri,
return;
}
- if ( ( gifFile = DGifOpenFileName(filename) ) == NULL) {
- PrintGifError();
+ if ((gifFile = DGifOpenFileName (filename)) == NULL) {
+ PrintGifError ();
return;
}
@@ -472,8 +470,8 @@ extract_gif (const gchar *uri,
read_metadata (preupdate, metadata, gifFile, uri);
- if(DGifCloseFile(gifFile) != GIF_OK) {
- PrintGifError();
+ if (DGifCloseFile (gifFile) != GIF_OK) {
+ PrintGifError ();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]