forked from AuroraMiddleware/gtk
929a56e53c
Replace most remaining uses of GTK+ in the docs and user-visible strings by GTK. Also remove some leftover "Was added in 3.x" sentences from the docs.
24 lines
472 B
C
24 lines
472 B
C
#include <gtk/gtk.h>
|
|
#include <locale.h>
|
|
|
|
static void
|
|
test_init (void)
|
|
{
|
|
g_assert (gtk_is_initialized () == FALSE);
|
|
g_assert (gtk_init_check ());
|
|
g_assert (gtk_is_initialized () == TRUE);
|
|
}
|
|
|
|
int
|
|
main (int argc, char *argv[])
|
|
{
|
|
/* Don't use gtk_test_init here because it implicitly initializes GTK. */
|
|
g_test_init (&argc, &argv, NULL);
|
|
gtk_disable_setlocale();
|
|
setlocale (LC_ALL, "C");
|
|
|
|
g_test_add_func ("/main/init", test_init);
|
|
|
|
return g_test_run ();
|
|
}
|