mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
ges-pitivi-formatter: Remove some unneeded includes and clean up includes
Fixes the build on Windows, where there's no unistd.h... which wasn't needed at all. https://bugzilla.gnome.org/show_bug.cgi?id=701115
This commit is contained in:
parent
7300a71483
commit
e7c748a7f2
1 changed files with 3 additions and 6 deletions
|
@ -27,14 +27,11 @@
|
||||||
#include <libxml/parser.h>
|
#include <libxml/parser.h>
|
||||||
#include <libxml/xpath.h>
|
#include <libxml/xpath.h>
|
||||||
#include <libxml/xpathInternals.h>
|
#include <libxml/xpathInternals.h>
|
||||||
#include "libxml/encoding.h"
|
#include <libxml/encoding.h>
|
||||||
#include "libxml/xmlwriter.h"
|
#include <libxml/xmlwriter.h>
|
||||||
|
|
||||||
#include "ges-internal.h"
|
#include "ges-internal.h"
|
||||||
#include <ges/ges.h>
|
#include <ges/ges.h>
|
||||||
#include <inttypes.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#define GetCurrentDir getcwd
|
|
||||||
|
|
||||||
/* The PiTiVi etree formatter is 0.1 we set GES one to 0.2 */
|
/* The PiTiVi etree formatter is 0.1 we set GES one to 0.2 */
|
||||||
#define VERSION "0.2"
|
#define VERSION "0.2"
|
||||||
|
@ -131,7 +128,7 @@ static void inline
|
||||||
write_int_attribute (xmlTextWriterPtr writer, guint64 nb, const gchar * attr,
|
write_int_attribute (xmlTextWriterPtr writer, guint64 nb, const gchar * attr,
|
||||||
const gchar * type)
|
const gchar * type)
|
||||||
{
|
{
|
||||||
gchar *str = g_strdup_printf ("%s%" PRIu64, type, nb);
|
gchar *str = g_strdup_printf ("%s%" G_GUINT64_FORMAT, type, nb);
|
||||||
xmlTextWriterWriteAttribute (writer, BAD_CAST attr, BAD_CAST str);
|
xmlTextWriterWriteAttribute (writer, BAD_CAST attr, BAD_CAST str);
|
||||||
g_free (str);
|
g_free (str);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue