2
#include <lightdm/greeter.h>
4
static void connected_cb (LdmGreeter *greeter)
6
printf ("CONNECTED\n");
9
int main (int argc, char **argv)
15
greeter = ldm_greeter_new ();
16
g_object_connect (greeter, "connected", G_CALLBACK (connected_cb), NULL);
17
ldm_greeter_connect_to_server (greeter);
19
g_main_loop_run (g_main_loop_new (NULL, FALSE));