[gnome-photos/wip/rishi/collection: 4/14] filterable: Style fixes



commit 4810b2ac76f5afcd4d7088ef5d3ebe79df9185a8
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Jan 11 19:34:19 2018 +0100

    filterable: Style fixes

 src/photos-filterable.c | 12 ++++++------
 src/photos-filterable.h |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/photos-filterable.c b/src/photos-filterable.c
index 1802269f..31a20110 100644
--- a/src/photos-filterable.c
+++ b/src/photos-filterable.c
@@ -56,10 +56,10 @@ photos_filterable_get_builtin (PhotosFilterable *self)
 
 
 gchar *
-photos_filterable_get_filter (PhotosFilterable *iface)
+photos_filterable_get_filter (PhotosFilterable *self)
 {
-  g_return_val_if_fail (PHOTOS_IS_FILTERABLE (iface), NULL);
-  return PHOTOS_FILTERABLE_GET_IFACE (iface)->get_filter (iface);
+  g_return_val_if_fail (PHOTOS_IS_FILTERABLE (self), NULL);
+  return PHOTOS_FILTERABLE_GET_IFACE (self)->get_filter (self);
 }
 
 
@@ -72,8 +72,8 @@ photos_filterable_get_id (PhotosFilterable *self)
 
 
 gchar *
-photos_filterable_get_where (PhotosFilterable *iface)
+photos_filterable_get_where (PhotosFilterable *self)
 {
-  g_return_val_if_fail (PHOTOS_IS_FILTERABLE (iface), NULL);
-  return PHOTOS_FILTERABLE_GET_IFACE (iface)->get_where (iface);
+  g_return_val_if_fail (PHOTOS_IS_FILTERABLE (self), NULL);
+  return PHOTOS_FILTERABLE_GET_IFACE (self)->get_where (self);
 }
diff --git a/src/photos-filterable.h b/src/photos-filterable.h
index eadd6aaa..992de82e 100644
--- a/src/photos-filterable.h
+++ b/src/photos-filterable.h
@@ -44,11 +44,11 @@ struct _PhotosFilterableInterface
 
 gboolean            photos_filterable_get_builtin        (PhotosFilterable *self);
 
-gchar              *photos_filterable_get_filter         (PhotosFilterable *iface);
+gchar              *photos_filterable_get_filter         (PhotosFilterable *self);
 
 const gchar        *photos_filterable_get_id             (PhotosFilterable *self);
 
-gchar              *photos_filterable_get_where          (PhotosFilterable *iface);
+gchar              *photos_filterable_get_where          (PhotosFilterable *self);
 
 G_END_DECLS
 


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