[gnome-photos/gnome-3-16] search-provider: Remove unnecessary boilerplate



commit 33f1e5712946c3f455645c532f0aedcc8bc9dbca
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Mar 12 23:42:13 2015 +0100

    search-provider: Remove unnecessary boilerplate

 src/photos-search-provider.h |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/photos-search-provider.h b/src/photos-search-provider.h
index 7abf2da..cc07ea9 100644
--- a/src/photos-search-provider.h
+++ b/src/photos-search-provider.h
@@ -35,22 +35,10 @@ G_BEGIN_DECLS
   (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
    PHOTOS_TYPE_SEARCH_PROVIDER, PhotosSearchProvider))
 
-#define PHOTOS_SEARCH_PROVIDER_CLASS(klass) \
-  (G_TYPE_CHECK_CLASS_CAST ((klass), \
-   PHOTOS_TYPE_SEARCH_PROVIDER, PhotosSearchProviderClass))
-
 #define PHOTOS_IS_SEARCH_PROVIDER(obj) \
   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
    PHOTOS_TYPE_SEARCH_PROVIDER))
 
-#define PHOTOS_IS_SEARCH_PROVIDER_CLASS(klass) \
-  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
-   PHOTOS_TYPE_SEARCH_PROVIDER))
-
-#define PHOTOS_SEARCH_PROVIDER_GET_CLASS(obj) \
-  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
-   PHOTOS_TYPE_SEARCH_PROVIDER, PhotosSearchProviderClass))
-
 #define PHOTOS_SEARCH_PROVIDER_PATH_SUFFIX "/SearchProvider"
 
 typedef struct _PhotosSearchProvider      PhotosSearchProvider;


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