Blame src/tests/ibus-util.c
|
Packit Service |
1d8f1c |
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
#include <sys/types.h>
|
|
Packit Service |
1d8f1c |
#include <sys/stat.h>
|
|
Packit Service |
1d8f1c |
#include <fcntl.h>
|
|
Packit Service |
1d8f1c |
#include <unistd.h>
|
|
Packit Service |
1d8f1c |
#include <locale.h>
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
#include "ibus.h"
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
int main (int argc, char **argv)
|
|
Packit Service |
1d8f1c |
{
|
|
Packit Service |
1d8f1c |
setlocale(LC_ALL, "C");
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
g_assert_cmpstr (ibus_get_language_name ("eng"), ==, "English");
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
return 0;
|
|
Packit Service |
1d8f1c |
}
|