[gnome-dictionary] Include the right header in GdictClientContext



commit d529e2dd056f05cb1115c2f68bb6f773b4b14948
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Mar 5 14:38:07 2017 +0000

    Include the right header in GdictClientContext
    
    GdictClientContext implements GdictContext, and since the header for the
    former references the latter, we need to include the correct header
    instead of a generic 'glib-object.h' one.

 libgdict/gdict-client-context.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgdict/gdict-client-context.h b/libgdict/gdict-client-context.h
index 9952434..d68b729 100644
--- a/libgdict/gdict-client-context.h
+++ b/libgdict/gdict-client-context.h
@@ -19,7 +19,7 @@
 #ifndef __GDICT_CLIENT_CONTEXT_H__
 #define __GDICT_CLIENT_CONTEXT_H__
 
-#include <glib-object.h>
+#include "gdict-context.h"
 
 #define GDICT_TYPE_CLIENT_CONTEXT              (gdict_client_context_get_type ())
 #define GDICT_CLIENT_CONTEXT(obj)              (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
GDICT_TYPE_CLIENT_CONTEXT, GdictClientContext))


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