Add more config checks (lifted from SPICE/gtk)

This commit is contained in:
Christophe de Dinechin 2018-04-11 13:45:44 +02:00
parent 0ae490d5fd
commit d6cd86f615
8 changed files with 60 additions and 0 deletions

6
config/check_egl.c Normal file
View File

@ -0,0 +1,6 @@
#include <epoxy/egl.h>
int main()
{
return 0;
}

View File

@ -0,0 +1,11 @@
#include <gdk/gdk.h>
int main()
{
if (0)
{
GdkEvent event;
gdk_event_get_scancode(&event);
}
return 0l;
}

5
config/check_gstaudio.c Normal file
View File

@ -0,0 +1,5 @@
#include <gst/gst.h>
int main()
{
return 0;
}

5
config/check_gstvideo.c Normal file
View File

@ -0,0 +1,5 @@
#include <gst/gst.h>
int main()
{
return 0;
}

View File

@ -0,0 +1,12 @@
#include <polkit/polkit.h>
int main()
{
if (0)
{
GCancellable cancellable;
GError *error;
polkit_authority_get_sync (&cancellable, &error);
}
return 0;
}

View File

@ -0,0 +1,10 @@
#include <polkit/polkit.h>
int main()
{
if (0)
{
PolkitAuthorizationResult *result;
polkit_authorization_result_get_dismissed(result);
}
return 0;
}

6
config/check_pulse.c Normal file
View File

@ -0,0 +1,6 @@
#include <pulse/glib-mainloop.h>
int main()
{
return 0;
}

5
config/check_sasl.c Normal file
View File

@ -0,0 +1,5 @@
#include <sasl/sasl.h>
int main()
{
return 0;
}