[gimp: 4/5] Reformatted source code and removed unused prototypes.



commit 5bc14cdc96736ac6a3e5ce2dbc667eec232073f5
Author: Roman Joost <romanofski gimp org>
Date:   Tue Jun 30 18:41:38 2009 +1000

    Reformatted source code and removed unused prototypes.

 plug-ins/metadata/exif-decode.c |   14 +++++++++++++-
 plug-ins/metadata/exif-decode.h |    4 ----
 plug-ins/metadata/metadata.c    |    1 -
 3 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/plug-ins/metadata/exif-decode.c b/plug-ins/metadata/exif-decode.c
index 96e3a09..de1e6ad 100644
--- a/plug-ins/metadata/exif-decode.c
+++ b/plug-ins/metadata/exif-decode.c
@@ -34,11 +34,18 @@
 #include "exif-decode.h"
 
 
+/*  local function prototypes  */
+
+gboolean            xmp_merge_from_exifbuffer   (XMPModel    *xmp_model,
+                                                 gint32       image_ID,
+                                                 GError     **error);
 static void         exif_foreach_content_cb     (ExifContent *content,
                                                  XMPModel    *xmp_model);
 static void         exif_foreach_entry_cb       (ExifEntry   *entry,
                                                  XMPModel    *xmp_model);
 
+/* public functions */
+
 /**
  * xmp_merge_from_exifbuffer:
  * @xmp_model: pointer to the #XMPModel in which the results will be stored
@@ -76,11 +83,16 @@ xmp_merge_from_exifbuffer (XMPModel     *xmp_model,
    return TRUE;
 }
 
+
+/* private functions */
+
 static void
 exif_foreach_content_cb (ExifContent *content,
                          XMPModel    *xmp_model)
 {
-   exif_content_foreach_entry (content, (void *) exif_foreach_entry_cb, xmp_model);
+   exif_content_foreach_entry (content,
+                               (void *) exif_foreach_entry_cb,
+                               xmp_model);
 }
 
 static void
diff --git a/plug-ins/metadata/exif-decode.h b/plug-ins/metadata/exif-decode.h
index 80f9791..487cc58 100644
--- a/plug-ins/metadata/exif-decode.h
+++ b/plug-ins/metadata/exif-decode.h
@@ -22,10 +22,6 @@
 
 G_BEGIN_DECLS
 
-gboolean        exif_merge_to_xmp           (XMPModel            *xmp_model,
-                                             const gchar         *filename,
-                                             GError             **error);
-
 gboolean        xmp_merge_from_exifbuffer   (XMPModel            *xmp_model,
                                              gint32               image_ID,
                                              GError             **error);
diff --git a/plug-ins/metadata/metadata.c b/plug-ins/metadata/metadata.c
index f34b54e..6010b3e 100644
--- a/plug-ins/metadata/metadata.c
+++ b/plug-ins/metadata/metadata.c
@@ -386,7 +386,6 @@ run (const gchar      *name,
   if (parasite)
     {
       GError *error = NULL;
-      g_warning ("Parsing Metadata XMP parasite.");
 
       if (!! strncmp (gimp_parasite_data (parasite),
                       METADATA_MARKER, METADATA_MARKER_LEN)



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