diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-06-21 11:06:39 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-06-21 11:06:39 +0200 |
commit | b12ca25986cc8d7da7dec73894a36f5478cb3a3e (patch) | |
tree | 0ecaffeaaabd0ac02e1530a2335316be4e3948b2 | |
parent | e4dc32648883e0459518d59a10d8d174afa5dae4 (diff) | |
download | totem-pl-parser-b12ca25986cc8d7da7dec73894a36f5478cb3a3e.tar.gz |
tests: Move AsyncParseData earlier
We'll want to use it earlier in the file.
-rw-r--r-- | plparse/tests/parser.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/plparse/tests/parser.c b/plparse/tests/parser.c index 7e930d1..8281f28 100644 --- a/plparse/tests/parser.c +++ b/plparse/tests/parser.c @@ -34,6 +34,12 @@ static GMainLoop *loop = NULL; static char **uris = NULL; static gboolean http_supported = FALSE; +typedef struct { + int count; + GMainLoop *mainloop; + char *uri; +} AsyncParseData; + static char * test_relative_real (const char *uri, const char *output) { @@ -667,13 +673,6 @@ test_parsing_not_really_php_but_html_instead (void) g_free (uri); } - -typedef struct { - int count; - GMainLoop *mainloop; - char *uri; -} AsyncParseData; - static void parse_async_ready (GObject *pl, GAsyncResult *result, gpointer userdata) { |