From 83c40ed182063983b8ce174be5a57ebc27921e22 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 6 Aug 2012 19:48:48 +0100 Subject: [PATCH 5/5] Include config.h as the first thing in every C file This is Autoconf best-practice, and in particular, is necessary to avoid compiler warnings when using the GLib and telepathy-glib deprecation macros. --- ytstenut/profile/yts-profile-adapter.c | 3 ++- ytstenut/profile/yts-profile-impl.c | 3 ++- ytstenut/profile/yts-profile-proxy.c | 3 ++- ytstenut/profile/yts-profile.c | 3 ++- ytstenut/video-profile/yts-vp-content.c | 3 ++- ytstenut/video-profile/yts-vp-playable-proxy.c | 3 ++- ytstenut/video-profile/yts-vp-playable.c | 3 ++- ytstenut/video-profile/yts-vp-player-adapter.c | 3 ++- ytstenut/video-profile/yts-vp-player-proxy.c | 3 ++- ytstenut/video-profile/yts-vp-player.c | 3 ++- ytstenut/video-profile/yts-vp-query.c | 3 ++- ytstenut/video-profile/yts-vp-transcript-adapter.c | 2 +- ytstenut/video-profile/yts-vp-transcript-proxy.c | 2 +- ytstenut/video-profile/yts-vp-transcript.c | 2 +- ytstenut/video-profile/yts-vp-transfer.c | 2 +- ytstenut/video-profile/yts-vp-transmission.c | 3 ++- ytstenut/yts-adapter-factory.c | 2 +- ytstenut/yts-capability.c | 2 +- ytstenut/yts-client-status.c | 3 +-- ytstenut/yts-client.c | 3 +-- ytstenut/yts-contact-impl.c | 2 +- ytstenut/yts-contact.c | 2 +- ytstenut/yts-error-message.c | 2 +- ytstenut/yts-error.c | 2 +- ytstenut/yts-event-message.c | 2 +- ytstenut/yts-factory.c | 2 +- ytstenut/yts-file-transfer.c | 3 +-- ytstenut/yts-incoming-file.c | 4 ++-- ytstenut/yts-invocation-message.c | 3 ++- ytstenut/yts-message.c | 3 ++- ytstenut/yts-metadata.c | 3 ++- ytstenut/yts-outgoing-file.c | 4 ++-- ytstenut/yts-proxy-factory.c | 3 ++- ytstenut/yts-proxy-service-impl.c | 3 ++- ytstenut/yts-proxy-service.c | 3 ++- ytstenut/yts-proxy.c | 3 ++- ytstenut/yts-response-message.c | 3 ++- ytstenut/yts-roster-impl.c | 3 ++- ytstenut/yts-roster.c | 3 ++- ytstenut/yts-service-adapter.c | 3 ++- ytstenut/yts-service-emitter.c | 3 ++- ytstenut/yts-service-factory.c | 3 ++- ytstenut/yts-service-impl.c | 3 ++- ytstenut/yts-service.c | 3 ++- ytstenut/ytstenut.c | 3 ++- 45 files changed, 75 insertions(+), 50 deletions(-) diff --git a/ytstenut/profile/yts-profile-adapter.c b/ytstenut/profile/yts-profile-adapter.c index b80d7b4..16d02e5 100644 --- a/ytstenut/profile/yts-profile-adapter.c +++ b/ytstenut/profile/yts-profile-adapter.c @@ -18,11 +18,12 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include #include "yts-profile.h" #include "yts-profile-adapter.h" -#include "config.h" G_DEFINE_TYPE (YtsProfileAdapter, yts_profile_adapter, diff --git a/ytstenut/profile/yts-profile-impl.c b/ytstenut/profile/yts-profile-impl.c index 6a5ecdc..787efa5 100644 --- a/ytstenut/profile/yts-profile-impl.c +++ b/ytstenut/profile/yts-profile-impl.c @@ -18,12 +18,13 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include "yts-capability.h" #include "yts-client-internal.h" #include "yts-profile.h" #include "yts-profile-impl.h" #include "yts-response-message.h" -#include "config.h" static void _capability_interface_init (YtsCapability *interface); diff --git a/ytstenut/profile/yts-profile-proxy.c b/ytstenut/profile/yts-profile-proxy.c index b0cc9b4..7883ac4 100644 --- a/ytstenut/profile/yts-profile-proxy.c +++ b/ytstenut/profile/yts-profile-proxy.c @@ -18,9 +18,10 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include "yts-profile.h" #include "yts-profile-proxy.h" -#include "config.h" static void _profile_interface_init (YtsProfileInterface *interface); diff --git a/ytstenut/profile/yts-profile.c b/ytstenut/profile/yts-profile.c index d081de7..f96775d 100644 --- a/ytstenut/profile/yts-profile.c +++ b/ytstenut/profile/yts-profile.c @@ -18,11 +18,12 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include "yts-capability.h" #include "yts-marshal.h" #include "yts-profile.h" #include "yts-proxy.h" -#include "config.h" G_DEFINE_INTERFACE (YtsProfile, yts_profile, diff --git a/ytstenut/video-profile/yts-vp-content.c b/ytstenut/video-profile/yts-vp-content.c index 80c4a33..1c94fdf 100644 --- a/ytstenut/video-profile/yts-vp-content.c +++ b/ytstenut/video-profile/yts-vp-content.c @@ -18,9 +18,10 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include "yts-capability.h" #include "yts-vp-content.h" -#include "config.h" G_DEFINE_INTERFACE (YtsVPContent, yts_vp_content, diff --git a/ytstenut/video-profile/yts-vp-playable-proxy.c b/ytstenut/video-profile/yts-vp-playable-proxy.c index 8b6d9a5..61196fa 100644 --- a/ytstenut/video-profile/yts-vp-playable-proxy.c +++ b/ytstenut/video-profile/yts-vp-playable-proxy.c @@ -18,11 +18,12 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include #include "yts-vp-playable.h" #include "yts-vp-playable-proxy.h" -#include "config.h" static void _playable_interface_init (YtsVPPlayableInterface *interface); diff --git a/ytstenut/video-profile/yts-vp-playable.c b/ytstenut/video-profile/yts-vp-playable.c index d76b8de..614579d 100644 --- a/ytstenut/video-profile/yts-vp-playable.c +++ b/ytstenut/video-profile/yts-vp-playable.c @@ -18,9 +18,10 @@ * Authored by: Rob Staudinger */ -#include "yts-vp-playable.h" #include "config.h" +#include "yts-vp-playable.h" + G_DEFINE_INTERFACE (YtsVPPlayable, yts_vp_playable, G_TYPE_OBJECT) diff --git a/ytstenut/video-profile/yts-vp-player-adapter.c b/ytstenut/video-profile/yts-vp-player-adapter.c index c781137..2d806e7 100644 --- a/ytstenut/video-profile/yts-vp-player-adapter.c +++ b/ytstenut/video-profile/yts-vp-player-adapter.c @@ -18,12 +18,13 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include #include "yts-service-adapter.h" #include "yts-vp-player.h" #include "yts-vp-player-adapter.h" -#include "config.h" G_DEFINE_TYPE (YtsVPPlayerAdapter, yts_vp_player_adapter, diff --git a/ytstenut/video-profile/yts-vp-player-proxy.c b/ytstenut/video-profile/yts-vp-player-proxy.c index cf97026..b7732a1 100644 --- a/ytstenut/video-profile/yts-vp-player-proxy.c +++ b/ytstenut/video-profile/yts-vp-player-proxy.c @@ -18,6 +18,8 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include #include @@ -25,7 +27,6 @@ #include "yts-vp-playable-proxy.h" #include "yts-vp-player.h" #include "yts-vp-player-proxy.h" -#include "config.h" static void _player_interface_init (YtsVPPlayerInterface *interface); diff --git a/ytstenut/video-profile/yts-vp-player.c b/ytstenut/video-profile/yts-vp-player.c index a9f6fc4..19aea00 100644 --- a/ytstenut/video-profile/yts-vp-player.c +++ b/ytstenut/video-profile/yts-vp-player.c @@ -18,11 +18,12 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include "yts-capability.h" #include "yts-marshal.h" #include "yts-vp-playable.h" #include "yts-vp-player.h" -#include "config.h" G_DEFINE_INTERFACE (YtsVPPlayer, yts_vp_player, diff --git a/ytstenut/video-profile/yts-vp-query.c b/ytstenut/video-profile/yts-vp-query.c index 9991ec2..9ff5271 100644 --- a/ytstenut/video-profile/yts-vp-query.c +++ b/ytstenut/video-profile/yts-vp-query.c @@ -18,10 +18,11 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include "yts-enum-types.h" #include "yts-marshal.h" #include "yts-vp-query.h" -#include "config.h" G_DEFINE_INTERFACE (YtsVPQuery, yts_vp_query, diff --git a/ytstenut/video-profile/yts-vp-transcript-adapter.c b/ytstenut/video-profile/yts-vp-transcript-adapter.c index b2d9cff..e39f9ae 100644 --- a/ytstenut/video-profile/yts-vp-transcript-adapter.c +++ b/ytstenut/video-profile/yts-vp-transcript-adapter.c @@ -17,11 +17,11 @@ * * Authored by: Rob Staudinger */ +#include "config.h" #include "yts-service-adapter.h" #include "yts-vp-transcript.h" #include "yts-vp-transcript-adapter.h" -#include "config.h" G_DEFINE_TYPE (YtsVPTranscriptAdapter, yts_vp_transcript_adapter, diff --git a/ytstenut/video-profile/yts-vp-transcript-proxy.c b/ytstenut/video-profile/yts-vp-transcript-proxy.c index 674cbf5..31e4dc1 100644 --- a/ytstenut/video-profile/yts-vp-transcript-proxy.c +++ b/ytstenut/video-profile/yts-vp-transcript-proxy.c @@ -17,12 +17,12 @@ * * Authored by: Rob Staudinger */ +#include "config.h" #include #include "yts-vp-transcript.h" #include "yts-vp-transcript-proxy.h" -#include "config.h" static void _transcript_interface_init (YtsVPTranscriptInterface *interface); diff --git a/ytstenut/video-profile/yts-vp-transcript.c b/ytstenut/video-profile/yts-vp-transcript.c index a1cac80..223ea4f 100644 --- a/ytstenut/video-profile/yts-vp-transcript.c +++ b/ytstenut/video-profile/yts-vp-transcript.c @@ -17,10 +17,10 @@ * * Authored by: Rob Staudinger */ +#include "config.h" #include "yts-capability.h" #include "yts-vp-transcript.h" -#include "config.h" G_DEFINE_INTERFACE (YtsVPTranscript, yts_vp_transcript, diff --git a/ytstenut/video-profile/yts-vp-transfer.c b/ytstenut/video-profile/yts-vp-transfer.c index 3e15770..81a1857 100644 --- a/ytstenut/video-profile/yts-vp-transfer.c +++ b/ytstenut/video-profile/yts-vp-transfer.c @@ -17,10 +17,10 @@ * * Authored by: Rob Staudinger */ +#include "config.h" #include "yts-capability.h" #include "yts-vp-transfer.h" -#include "config.h" G_DEFINE_INTERFACE (YtsVPTransfer, yts_vp_transfer, diff --git a/ytstenut/video-profile/yts-vp-transmission.c b/ytstenut/video-profile/yts-vp-transmission.c index c81b9ff..e81b3f6 100644 --- a/ytstenut/video-profile/yts-vp-transmission.c +++ b/ytstenut/video-profile/yts-vp-transmission.c @@ -18,9 +18,10 @@ * Authored by: Rob Staudinger */ -#include "yts-vp-transmission.h" #include "config.h" +#include "yts-vp-transmission.h" + G_DEFINE_INTERFACE (YtsVPTransmission, yts_vp_transmission, G_TYPE_OBJECT) diff --git a/ytstenut/yts-adapter-factory.c b/ytstenut/yts-adapter-factory.c index 52c5112..74c2e65 100644 --- a/ytstenut/yts-adapter-factory.c +++ b/ytstenut/yts-adapter-factory.c @@ -17,9 +17,9 @@ * * Authored by: Rob Staudinger */ +#include "config.h" #include "yts-adapter-factory.h" -#include "config.h" G_DEFINE_TYPE (YtsAdapterFactory, yts_adapter_factory, YTS_TYPE_FACTORY) diff --git a/ytstenut/yts-capability.c b/ytstenut/yts-capability.c index 529ec83..32a039b 100644 --- a/ytstenut/yts-capability.c +++ b/ytstenut/yts-capability.c @@ -17,9 +17,9 @@ * * Authored by: Rob Staudinger */ +#include "config.h" #include "yts-capability.h" -#include "config.h" G_DEFINE_INTERFACE (YtsCapability, yts_capability, G_TYPE_OBJECT) diff --git a/ytstenut/yts-client-status.c b/ytstenut/yts-client-status.c index eae4ef6..6a9c9c6 100644 --- a/ytstenut/yts-client-status.c +++ b/ytstenut/yts-client-status.c @@ -17,12 +17,11 @@ * * Authored by: Rob Staudinger */ +#include "config.h" #include "yts-client-status.h" #include "yts-xml.h" -#include "config.h" - G_DEFINE_TYPE (YtsClientStatus, yts_client_status, G_TYPE_OBJECT) #define GET_PRIVATE(o) \ diff --git a/ytstenut/yts-client.c b/ytstenut/yts-client.c index 2eb9101..916d508 100644 --- a/ytstenut/yts-client.c +++ b/ytstenut/yts-client.c @@ -18,6 +18,7 @@ * Authored by: Tomas Frydrych * Rob Staudinger */ +#include "config.h" #include #include @@ -57,8 +58,6 @@ #include "profile/yts-profile-adapter.h" #include "profile/yts-profile-impl.h" -#include "config.h" - #define RECONNECT_DELAY 20 /* in seconds */ static void yts_client_make_connection (YtsClient *client); diff --git a/ytstenut/yts-contact-impl.c b/ytstenut/yts-contact-impl.c index 3854f3b..448d82a 100644 --- a/ytstenut/yts-contact-impl.c +++ b/ytstenut/yts-contact-impl.c @@ -17,10 +17,10 @@ * * Authored by: Rob Staudinger */ +#include "config.h" #include "yts-contact-impl.h" #include "yts-marshal.h" -#include "config.h" G_DEFINE_TYPE (YtsContactImpl, yts_contact_impl, YTS_TYPE_CONTACT) diff --git a/ytstenut/yts-contact.c b/ytstenut/yts-contact.c index f65a84a..24656a5 100644 --- a/ytstenut/yts-contact.c +++ b/ytstenut/yts-contact.c @@ -18,6 +18,7 @@ * Authored by: Tomas Frydrych * Rob Staudinger */ +#include "config.h" #include #include @@ -35,7 +36,6 @@ #include "yts-marshal.h" #include "yts-proxy-service-internal.h" #include "yts-service-internal.h" -#include "config.h" G_DEFINE_ABSTRACT_TYPE (YtsContact, yts_contact, G_TYPE_OBJECT) diff --git a/ytstenut/yts-error-message.c b/ytstenut/yts-error-message.c index 8e89a7a..07c51f7 100644 --- a/ytstenut/yts-error-message.c +++ b/ytstenut/yts-error-message.c @@ -17,11 +17,11 @@ * * Authored by: Rob Staudinger */ +#include "config.h" #include #include "yts-error-message.h" -#include "config.h" G_DEFINE_TYPE (YtsErrorMessage, yts_error_message, YTS_TYPE_METADATA) diff --git a/ytstenut/yts-error.c b/ytstenut/yts-error.c index 718e255..b5adaa4 100644 --- a/ytstenut/yts-error.c +++ b/ytstenut/yts-error.c @@ -17,9 +17,9 @@ * * Authored by: Tomas Frydrych */ +#include "config.h" #include "yts-error.h" -#include "config.h" /** * yts_error_get_code: diff --git a/ytstenut/yts-event-message.c b/ytstenut/yts-event-message.c index e069e37..6747104 100644 --- a/ytstenut/yts-event-message.c +++ b/ytstenut/yts-event-message.c @@ -17,11 +17,11 @@ * * Authored by: Rob Staudinger */ +#include "config.h" #include #include "yts-event-message.h" -#include "config.h" G_DEFINE_TYPE (YtsEventMessage, yts_event_message, YTS_TYPE_METADATA) diff --git a/ytstenut/yts-factory.c b/ytstenut/yts-factory.c index 059eeb3..9603634 100644 --- a/ytstenut/yts-factory.c +++ b/ytstenut/yts-factory.c @@ -17,6 +17,7 @@ * * Authored by: Rob Staudinger */ +#include "config.h" #include #include @@ -27,7 +28,6 @@ #include "video-profile/yts-vp-player-proxy.h" #include "video-profile/yts-vp-transcript-adapter.h" #include "video-profile/yts-vp-transcript-proxy.h" -#include "config.h" G_DEFINE_ABSTRACT_TYPE (YtsFactory, yts_factory, G_TYPE_OBJECT) diff --git a/ytstenut/yts-file-transfer.c b/ytstenut/yts-file-transfer.c index 9c105c1..2615250 100644 --- a/ytstenut/yts-file-transfer.c +++ b/ytstenut/yts-file-transfer.c @@ -17,6 +17,7 @@ * * Authored by: Rob Staudinger */ +#include "config.h" #include @@ -27,8 +28,6 @@ #include "yts-incoming-file-internal.h" #include "yts-outgoing-file-internal.h" -#include "config.h" - G_DEFINE_INTERFACE (YtsFileTransfer, yts_file_transfer, G_TYPE_OBJECT) /** diff --git a/ytstenut/yts-incoming-file.c b/ytstenut/yts-incoming-file.c index e4679a3..30151c0 100644 --- a/ytstenut/yts-incoming-file.c +++ b/ytstenut/yts-incoming-file.c @@ -19,6 +19,8 @@ * Using portions from telepathy-ytstenut's server-file-transfer.c, © Intel. */ +#include "config.h" + #include #include #include @@ -26,8 +28,6 @@ #include "yts-file-transfer.h" #include "yts-incoming-file-internal.h" -#include "config.h" - static void _initable_interface_init (GInitableIface *interface); diff --git a/ytstenut/yts-invocation-message.c b/ytstenut/yts-invocation-message.c index fc8d039..4ee5c6f 100644 --- a/ytstenut/yts-invocation-message.c +++ b/ytstenut/yts-invocation-message.c @@ -18,10 +18,11 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include #include "yts-invocation-message.h" -#include "config.h" G_DEFINE_TYPE (YtsInvocationMessage, yts_invocation_message, YTS_TYPE_METADATA) diff --git a/ytstenut/yts-message.c b/ytstenut/yts-message.c index ca2e6cb..0e848d9 100644 --- a/ytstenut/yts-message.c +++ b/ytstenut/yts-message.c @@ -18,9 +18,10 @@ * Authored by: Tomas Frydrych */ +#include "config.h" + #include "yts-message.h" #include "yts-metadata-internal.h" -#include "config.h" static void yts_message_dispose (GObject *object); static void yts_message_finalize (GObject *object); diff --git a/ytstenut/yts-metadata.c b/ytstenut/yts-metadata.c index 30c10fd..0bd4f29 100644 --- a/ytstenut/yts-metadata.c +++ b/ytstenut/yts-metadata.c @@ -18,12 +18,13 @@ * Authored by: Tomas Frydrych */ +#include "config.h" + #include #include #include "yts-metadata-internal.h" #include "yts-message.h" -#include "config.h" static void yts_metadata_dispose (GObject *object); static void yts_metadata_finalize (GObject *object); diff --git a/ytstenut/yts-outgoing-file.c b/ytstenut/yts-outgoing-file.c index 3a1dfb2..8bd1048 100644 --- a/ytstenut/yts-outgoing-file.c +++ b/ytstenut/yts-outgoing-file.c @@ -19,6 +19,8 @@ * Using portions from telepathy-ytstenut's server-file-transfer.c, © Intel. */ +#include "config.h" + #include #include #include @@ -26,8 +28,6 @@ #include "yts-file-transfer.h" #include "yts-outgoing-file-internal.h" -#include "config.h" - static void _initable_interface_init (GInitableIface *interface); diff --git a/ytstenut/yts-proxy-factory.c b/ytstenut/yts-proxy-factory.c index d16c4a7..d661d2e 100644 --- a/ytstenut/yts-proxy-factory.c +++ b/ytstenut/yts-proxy-factory.c @@ -18,9 +18,10 @@ * Authored by: Rob Staudinger */ -#include "yts-proxy-factory.h" #include "config.h" +#include "yts-proxy-factory.h" + G_DEFINE_TYPE (YtsProxyFactory, yts_proxy_factory, YTS_TYPE_FACTORY) static GObject * diff --git a/ytstenut/yts-proxy-service-impl.c b/ytstenut/yts-proxy-service-impl.c index 69bfd11..7c87ad1 100644 --- a/ytstenut/yts-proxy-service-impl.c +++ b/ytstenut/yts-proxy-service-impl.c @@ -18,9 +18,10 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include "yts-service-emitter.h" #include "yts-proxy-service-impl.h" -#include "config.h" static void _service_emitter_interface_init (YtsServiceEmitter *interface); diff --git a/ytstenut/yts-proxy-service.c b/ytstenut/yts-proxy-service.c index 44a9a1f..7fb8982 100644 --- a/ytstenut/yts-proxy-service.c +++ b/ytstenut/yts-proxy-service.c @@ -18,6 +18,8 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include #include "yts-capability.h" @@ -31,7 +33,6 @@ #include "profile/yts-profile.h" #include "profile/yts-profile-proxy.h" -#include "config.h" G_DEFINE_ABSTRACT_TYPE (YtsProxyService, yts_proxy_service, YTS_TYPE_SERVICE) diff --git a/ytstenut/yts-proxy.c b/ytstenut/yts-proxy.c index f2ce7c1..14534ac 100644 --- a/ytstenut/yts-proxy.c +++ b/ytstenut/yts-proxy.c @@ -18,12 +18,13 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include #include "yts-capability.h" #include "yts-marshal.h" #include "yts-proxy-internal.h" -#include "config.h" static void _capability_interface_init (YtsCapability *interface); diff --git a/ytstenut/yts-response-message.c b/ytstenut/yts-response-message.c index ab78510..1be688f 100644 --- a/ytstenut/yts-response-message.c +++ b/ytstenut/yts-response-message.c @@ -18,10 +18,11 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include #include "yts-response-message.h" -#include "config.h" G_DEFINE_TYPE (YtsResponseMessage, yts_response_message, YTS_TYPE_METADATA) diff --git a/ytstenut/yts-roster-impl.c b/ytstenut/yts-roster-impl.c index 1182274..a796199 100644 --- a/ytstenut/yts-roster-impl.c +++ b/ytstenut/yts-roster-impl.c @@ -18,9 +18,10 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include "yts-roster-impl.h" #include "yts-marshal.h" -#include "config.h" G_DEFINE_TYPE (YtsRosterImpl, yts_roster_impl, YTS_TYPE_ROSTER) diff --git a/ytstenut/yts-roster.c b/ytstenut/yts-roster.c index a7ebea5..02663b2 100644 --- a/ytstenut/yts-roster.c +++ b/ytstenut/yts-roster.c @@ -19,6 +19,8 @@ * Rob Staudinger */ +#include "config.h" + #include #include @@ -30,7 +32,6 @@ #include "yts-roster-impl.h" #include "yts-roster-internal.h" #include "yts-service-factory.h" -#include "config.h" G_DEFINE_ABSTRACT_TYPE (YtsRoster, yts_roster, G_TYPE_OBJECT) diff --git a/ytstenut/yts-service-adapter.c b/ytstenut/yts-service-adapter.c index eeaa88f..9795463 100644 --- a/ytstenut/yts-service-adapter.c +++ b/ytstenut/yts-service-adapter.c @@ -18,10 +18,11 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include "yts-capability.h" #include "yts-marshal.h" #include "yts-service-adapter.h" -#include "config.h" G_DEFINE_TYPE (YtsServiceAdapter, yts_service_adapter, G_TYPE_OBJECT) diff --git a/ytstenut/yts-service-emitter.c b/ytstenut/yts-service-emitter.c index b7595f3..8f3e69c 100644 --- a/ytstenut/yts-service-emitter.c +++ b/ytstenut/yts-service-emitter.c @@ -18,12 +18,13 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include #include "yts-marshal.h" #include "yts-service.h" #include "yts-service-emitter.h" -#include "config.h" G_DEFINE_INTERFACE (YtsServiceEmitter, yts_service_emitter, YTS_TYPE_SERVICE) diff --git a/ytstenut/yts-service-factory.c b/ytstenut/yts-service-factory.c index 02cf55c..56b799a 100644 --- a/ytstenut/yts-service-factory.c +++ b/ytstenut/yts-service-factory.c @@ -18,10 +18,11 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include "yts-proxy-service-impl.h" #include "yts-service-factory.h" #include "yts-service-impl.h" -#include "config.h" G_DEFINE_TYPE (YtsServiceFactory, yts_service_factory, YTS_TYPE_FACTORY) diff --git a/ytstenut/yts-service-impl.c b/ytstenut/yts-service-impl.c index 06c47e3..7c40819 100644 --- a/ytstenut/yts-service-impl.c +++ b/ytstenut/yts-service-impl.c @@ -18,9 +18,10 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include "yts-service-emitter.h" #include "yts-service-impl.h" -#include "config.h" static void _service_emitter_interface_init (YtsServiceEmitter *interface); diff --git a/ytstenut/yts-service.c b/ytstenut/yts-service.c index 36d3b84..f92df02 100644 --- a/ytstenut/yts-service.c +++ b/ytstenut/yts-service.c @@ -19,13 +19,14 @@ * Rob Staudinger */ +#include "config.h" + #include "yts-capability.h" #include "yts-invocation-message.h" #include "yts-marshal.h" #include "yts-message.h" #include "yts-service-emitter.h" #include "yts-service-internal.h" -#include "config.h" static void _capability_interface_init (YtsCapability *interface); diff --git a/ytstenut/ytstenut.c b/ytstenut/ytstenut.c index d5ebbd4..8606095 100644 --- a/ytstenut/ytstenut.c +++ b/ytstenut/ytstenut.c @@ -18,12 +18,13 @@ * Authored by: Rob Staudinger */ +#include "config.h" + #include #include #include #include "ytstenut-internal.h" -#include "config.h" #undef G_LOG_DOMAIN #define G_LOG_DOMAIN PACKAGE"\0main\0"G_STRLOC -- 1.7.10.4