[gnome-photos] filterable: Rename PHOTOS_FILTERABLE_GET_INTERFACE to _GET_IFACE



commit f84eee351a13854ac15cd247b30a9d2dd3adb70e
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Dec 1 10:55:14 2016 +0100

    filterable: Rename PHOTOS_FILTERABLE_GET_INTERFACE to _GET_IFACE
    
    ... to match the macros generated by G_DECLARE_INTERFACE.

 src/photos-filterable.c |    8 ++++----
 src/photos-filterable.h |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/photos-filterable.c b/src/photos-filterable.c
index 8f24e98..b631545 100644
--- a/src/photos-filterable.c
+++ b/src/photos-filterable.c
@@ -51,7 +51,7 @@ gboolean
 photos_filterable_get_builtin (PhotosFilterable *self)
 {
   g_return_val_if_fail (PHOTOS_IS_FILTERABLE (self), FALSE);
-  return PHOTOS_FILTERABLE_GET_INTERFACE (self)->get_builtin (self);
+  return PHOTOS_FILTERABLE_GET_IFACE (self)->get_builtin (self);
 }
 
 
@@ -59,7 +59,7 @@ gchar *
 photos_filterable_get_filter (PhotosFilterable *iface)
 {
   g_return_val_if_fail (PHOTOS_IS_FILTERABLE (iface), NULL);
-  return PHOTOS_FILTERABLE_GET_INTERFACE (iface)->get_filter (iface);
+  return PHOTOS_FILTERABLE_GET_IFACE (iface)->get_filter (iface);
 }
 
 
@@ -67,7 +67,7 @@ const gchar *
 photos_filterable_get_id (PhotosFilterable *self)
 {
   g_return_val_if_fail (PHOTOS_IS_FILTERABLE (self), NULL);
-  return PHOTOS_FILTERABLE_GET_INTERFACE (self)->get_id (self);
+  return PHOTOS_FILTERABLE_GET_IFACE (self)->get_id (self);
 }
 
 
@@ -75,5 +75,5 @@ gchar *
 photos_filterable_get_where (PhotosFilterable *iface)
 {
   g_return_val_if_fail (PHOTOS_IS_FILTERABLE (iface), NULL);
-  return PHOTOS_FILTERABLE_GET_INTERFACE (iface)->get_where (iface);
+  return PHOTOS_FILTERABLE_GET_IFACE (iface)->get_where (iface);
 }
diff --git a/src/photos-filterable.h b/src/photos-filterable.h
index 56dbae2..a347ed3 100644
--- a/src/photos-filterable.h
+++ b/src/photos-filterable.h
@@ -39,7 +39,7 @@ G_BEGIN_DECLS
   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
    PHOTOS_TYPE_FILTERABLE))
 
-#define PHOTOS_FILTERABLE_GET_INTERFACE(inst) \
+#define PHOTOS_FILTERABLE_GET_IFACE(inst) \
   (G_TYPE_INSTANCE_GET_INTERFACE ((inst), \
    PHOTOS_TYPE_FILTERABLE, PhotosFilterableInterface))
 


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