examples: remove #include <ges-internal.h> from assets.c
authorScott D Phillips <scott.d.phillips@intel.com>
Tue, 29 Nov 2016 01:07:39 +0000 (17:07 -0800)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 29 Nov 2016 11:19:50 +0000 (13:19 +0200)
It is not needed and pulling it in is causing a link problem with msvc.
Including ges-internal.h sets the default debug category in assets.c to
_ges_debug. Because _ges_debug is marked as DATA in the libges.def, it
will only be linked from libges.dll if it is marked in the source with
dllimport. Instead of messing with that we can just remove this include.

https://bugzilla.gnome.org/show_bug.cgi?id=775295

examples/c/assets.c

index 89450b6..b1abac4 100644 (file)
@@ -21,7 +21,6 @@
 #include <ges/ges-uri-asset.h>
 #include <gst/pbutils/encoding-profile.h>
 #include <gst/pbutils/gstdiscoverer.h>
-#include <ges/ges-internal.h>
 
 static void
 asset_loaded_cb (GObject * source, GAsyncResult * res, GMainLoop * mainloop)