[gnome-photos] search-context: Rename _SEARCH_CONTEXT_GET_INTERFACE to _GET_IFACE



commit 1e61585e423e1494313a975996b31a4112962947
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed May 10 12:19:22 2017 +0200

    search-context: Rename _SEARCH_CONTEXT_GET_INTERFACE to _GET_IFACE
    
    ... to match the macros generated by G_DECLARE_INTERFACE.

 src/photos-search-context.c |    2 +-
 src/photos-search-context.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-search-context.c b/src/photos-search-context.c
index 7f253ae..003e131 100644
--- a/src/photos-search-context.c
+++ b/src/photos-search-context.c
@@ -78,5 +78,5 @@ PhotosSearchContextState *
 photos_search_context_get_state (PhotosSearchContext *self)
 {
   g_return_val_if_fail (PHOTOS_IS_SEARCH_CONTEXT (self), NULL);
-  return PHOTOS_SEARCH_CONTEXT_GET_INTERFACE (self)->get_state (self);
+  return PHOTOS_SEARCH_CONTEXT_GET_IFACE (self)->get_state (self);
 }
diff --git a/src/photos-search-context.h b/src/photos-search-context.h
index bd0662a..003cd65 100644
--- a/src/photos-search-context.h
+++ b/src/photos-search-context.h
@@ -39,7 +39,7 @@ G_BEGIN_DECLS
   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
    PHOTOS_TYPE_SEARCH_CONTEXT))
 
-#define PHOTOS_SEARCH_CONTEXT_GET_INTERFACE(inst) \
+#define PHOTOS_SEARCH_CONTEXT_GET_IFACE(inst) \
   (G_TYPE_INSTANCE_GET_INTERFACE ((inst), \
    PHOTOS_TYPE_SEARCH_CONTEXT, PhotosSearchContextInterface))
 


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