[gexiv2] gi: Fix scanner warnings
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gexiv2] gi: Fix scanner warnings
- Date: Sun, 17 Jul 2016 09:54:55 +0000 (UTC)
commit 6795fffd6f622dc4797432fb5ee94d3e12168a99
Author: Jens Georg <mail jensge org>
Date: Sun Jul 17 11:44:14 2016 +0200
gi: Fix scanner warnings
Signed-off-by: Jens Georg <mail jensge org>
Makefile.am | 9 ++++++---
gexiv2/gexiv2-log.h | 6 +++---
gexiv2/gexiv2-metadata.h | 4 ++--
3 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 47eec10..59ccd92 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -51,16 +51,19 @@ gexiv2_vapi.stamp: $(top_builddir)/GExiv2-0.10.gir $(top_srcdir)/vapi/GExiv2-0.1
dist_vapi_DATA = gexiv2.vapi
EXTRA_DIST += $(top_srcdir)/vala/GExiv2-0.10.metadata gexiv2.vapi gexiv2.stamp
-GEXIV2_public_HEADERS = \
+GEXIV2_GIRHEADERS = \
$(srcdir)/gexiv2/gexiv2.h \
$(srcdir)/gexiv2/gexiv2-metadata.h \
- $(srcdir)/gexiv2/gexiv2-managed-stream.h \
$(srcdir)/gexiv2/gexiv2-preview-properties.h \
$(srcdir)/gexiv2/gexiv2-preview-image.h \
$(srcdir)/gexiv2/gexiv2-log.h \
$(srcdir)/gexiv2/gexiv2-startup.h \
gexiv2/gexiv2-version.h
+GEXIV2_public_HEADERS = \
+ $(srcdir)/gexiv2/gexiv2-managed-stream.h \
+ $(GEXIV2_GIRHEADERS)
+
# Non-installed source files. #
GEXIV2_sources = \
gexiv2/gexiv2-metadata.cpp \
@@ -150,7 +153,7 @@ GExiv2-@GIR_VERSION@.gir: lib@PACKAGE_NAME@.la
GExiv2_@GIR_VERSION_U@_gir_INCLUDES = GObject-2.0
GExiv2_@GIR_VERSION_U@_gir_CFLAGS = -I$(srcdir) -I@PACKAGE_NAME@
GExiv2_@GIR_VERSION_U@_gir_LIBS = lib@PACKAGE_NAME@.la
-GExiv2_@GIR_VERSION_U@_gir_FILES = $(GEXIV2_public_HEADERS)
+GExiv2_@GIR_VERSION_U@_gir_FILES = $(GEXIV2_GIRHEADERS)
GExiv2_@GIR_VERSION_U@_gir_NAMESPACE = GExiv2
GExiv2_@GIR_VERSION_U@_gir_VERSION = $(GIR_VERSION)
INTROSPECTION_GIRS += GExiv2-$(GIR_VERSION).gir
diff --git a/gexiv2/gexiv2-log.h b/gexiv2/gexiv2-log.h
index 383a9a8..1274070 100644
--- a/gexiv2/gexiv2-log.h
+++ b/gexiv2/gexiv2-log.h
@@ -49,7 +49,7 @@ GExiv2LogLevel gexiv2_log_get_level(void);
void gexiv2_log_set_level(GExiv2LogLevel level);
/**
- * gexiv2_log_get_handler
+ * gexiv2_log_get_handler:(skip)
*
* Returns: The current #GExiv2LogHandler, or the default if none set. See
* #gexiv2_log_get_default_handler.
@@ -57,7 +57,7 @@ void gexiv2_log_set_level(GExiv2LogLevel level);
GExiv2LogHandler gexiv2_log_get_handler(void);
/**
- * gexiv2_log_get_default_handler
+ * gexiv2_log_get_default_handler: (skip)
*
* Returns: The default #GExiv2LogHandler, which uses Exiv2's built-in handler. Exiv2 will send the
* message to stderr.
@@ -65,7 +65,7 @@ GExiv2LogHandler gexiv2_log_get_handler(void);
GExiv2LogHandler gexiv2_log_get_default_handler(void);
/**
- * gexiv2_log_set_handler:
+ * gexiv2_log_set_handler: (skip)
* @handler: A #GExiv2LogHandler callback to begin receiving log messages from Exiv2 and gexiv2
*
* This method is not thread-safe. It's best to set this before beginning to use gexiv2.
diff --git a/gexiv2/gexiv2-metadata.h b/gexiv2/gexiv2-metadata.h
index 765f918..522f6fe 100644
--- a/gexiv2/gexiv2-metadata.h
+++ b/gexiv2/gexiv2-metadata.h
@@ -164,7 +164,7 @@ gboolean gexiv2_metadata_open_path (GExiv2Metadata
*self, const gchar *path,
gboolean gexiv2_metadata_open_buf (GExiv2Metadata *self, const guint8
*data, glong n_data, GError **error);
/**
- * gexiv2_metadata_open_stream:
+ * gexiv2_metadata_open_stream: (skip)
* @cb: A #ManagedStreamCallbacks struct offering stream access.
*
* The stream must be an image format supported by Exiv2.
@@ -196,7 +196,7 @@ gboolean gexiv2_metadata_from_app1_segment (GExiv2Metadata *self, const
guint8
gboolean gexiv2_metadata_save_file (GExiv2Metadata *self, const gchar
*path, GError **error);
/**
- * gexiv2_metadata_save_stream:
+ * gexiv2_metadata_save_stream: (skip)
* @cb: A #ManagedStreamCallbacks struct offering stream access.
*
* Saves the metadata to the stream by reading the stream into memory,copying this object's
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]