[gthumb/ext] minor code cleanup



commit b9d3dfea4347c2c9cff5161dbb72ba575e0cc1df
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Oct 4 18:35:48 2009 +0200

    minor code cleanup

 data/gthumb.schemas.in   |    8 +++-----
 extensions/exiv2/main.c  |    3 ---
 gthumb/gth-preferences.h |    1 -
 gthumb/pixbuf-io.c       |    1 +
 4 files changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/data/gthumb.schemas.in b/data/gthumb.schemas.in
index a06736d..3964c4c 100644
--- a/data/gthumb.schemas.in
+++ b/data/gthumb.schemas.in
@@ -602,7 +602,7 @@
 	</locale>
       </schema>
 
-     <!-- Messages -->
+      <!-- Messages -->
 
       <schema>
 	<key>/schemas/apps/gthumb/dialogs/messages/cannot_move_to_trash</key>
@@ -625,8 +625,7 @@
 	<default>true</default>
 	<locale name="C">
 	  <short></short>
-	  <long>
-	  </long>
+	  <long></long>
 	</locale>
       </schema>
 
@@ -638,8 +637,7 @@
 	<default>false</default>
 	<locale name="C">
 	  <short></short>
-	  <long>
-	  </long>
+	  <long></long>
 	</locale>
       </schema>
 
diff --git a/extensions/exiv2/main.c b/extensions/exiv2/main.c
index 905a8fb..a5f2810 100644
--- a/extensions/exiv2/main.c
+++ b/extensions/exiv2/main.c
@@ -188,9 +188,6 @@ exiv2_jpeg_tran_cb (void         **out_buffer,
 }
 
 
-
-
-
 static int
 gth_file_data_cmp_date_time_original (GthFileData *a,
 				      GthFileData *b)
diff --git a/gthumb/gth-preferences.h b/gthumb/gth-preferences.h
index cd533a5..08f962c 100644
--- a/gthumb/gth-preferences.h
+++ b/gthumb/gth-preferences.h
@@ -91,7 +91,6 @@ G_BEGIN_DECLS
 #define PREF_MSG_CANNOT_MOVE_TO_TRASH "/apps/gthumb/dialogs/messages/cannot_move_to_trash"
 #define PREF_MSG_SAVE_MODIFIED_IMAGE  "/apps/gthumb/dialogs/messages/save_modified_image"
 
-
 #define DEFAULT_GENERAL_FILTER "file::type::is_media"
 #define DEFAULT_THUMBNAIL_CAPTION "standard::display-name,gth::file::display-size"
 #define DEFAULT_UI_WINDOW_WIDTH 690
diff --git a/gthumb/pixbuf-io.c b/gthumb/pixbuf-io.c
index c76777c..8698d28 100644
--- a/gthumb/pixbuf-io.c
+++ b/gthumb/pixbuf-io.c
@@ -178,6 +178,7 @@ _gdk_pixbuf_save_async (GdkPixbuf        *pixbuf,
 	data->buffer_size = buffer_size;
 	data->files = NULL;
 	data->error = NULL;
+
 	gth_hook_invoke ("save-pixbuf", data);
 
 	if (data->error == NULL) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]