[gnome-photos/wip/rishi/thumbnailer: 8/16] pipeline: Add photos_pipeline_get
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/thumbnailer: 8/16] pipeline: Add photos_pipeline_get
- Date: Mon, 13 Feb 2017 22:41:48 +0000 (UTC)
commit c772c698d7e9fdfb985c44ba382cec3883aa47b0
Author: Debarshi Ray <debarshir gnome org>
Date: Sun Feb 12 17:44:27 2017 +0100
pipeline: Add photos_pipeline_get
src/photos-pipeline.c | 16 ++++++++++++++++
src/photos-pipeline.h | 5 +++++
2 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-pipeline.c b/src/photos-pipeline.c
index da577ce..025b7c0 100644
--- a/src/photos-pipeline.c
+++ b/src/photos-pipeline.c
@@ -492,6 +492,22 @@ photos_pipeline_add_valist (PhotosPipeline *self,
gboolean
+photos_pipeline_get (PhotosPipeline *self, const gchar *operation, const gchar *first_property_name, ...)
+{
+ gboolean ret_val;
+ va_list ap;
+
+ g_return_val_if_fail (PHOTOS_IS_PIPELINE (self), FALSE);
+
+ va_start (ap, first_property_name);
+ ret_val = photos_pipeline_get_valist (self, operation, first_property_name, ap);
+ va_end (ap);
+
+ return ret_val;
+}
+
+
+gboolean
photos_pipeline_get_valist (PhotosPipeline *self,
const gchar *operation,
const gchar *first_property_name,
diff --git a/src/photos-pipeline.h b/src/photos-pipeline.h
index 88ff6c2..95dce75 100644
--- a/src/photos-pipeline.h
+++ b/src/photos-pipeline.h
@@ -57,6 +57,11 @@ void photos_pipeline_add_valist (PhotosPipeline *self,
const gchar *first_property_name,
va_list ap);
+gboolean photos_pipeline_get (PhotosPipeline *self,
+ const gchar *operation,
+ const gchar *first_property_name,
+ ...) G_GNUC_NULL_TERMINATED
G_GNUC_WARN_UNUSED_RESULT;
+
gboolean photos_pipeline_get_valist (PhotosPipeline *self,
const gchar *operation,
const gchar *first_property_name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]