mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
tests: Make test_init() not check for gdk-pixbuf anymore
gdk-pixbuf is system-installed these days.
This commit is contained in:
parent
8343831c39
commit
5acd15d21b
@ -31,12 +31,8 @@ static char next_value = 'A';
|
||||
static void
|
||||
test_init (void)
|
||||
{
|
||||
if (g_file_test ("../gdk-pixbuf/libpixbufloader-pnm.la",
|
||||
G_FILE_TEST_EXISTS))
|
||||
{
|
||||
g_setenv ("GDK_PIXBUF_MODULE_FILE", "../gdk-pixbuf/loaders.cache", TRUE);
|
||||
g_setenv ("GTK_IM_MODULE_FILE", "../modules/input/immodules.cache", TRUE);
|
||||
}
|
||||
if (g_file_test ("../modules/input/immodules.cache", G_FILE_TEST_EXISTS))
|
||||
g_setenv ("GTK_IM_MODULE_FILE", "../modules/input/immodules.cache", TRUE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -576,12 +576,8 @@ source_drag_data_delete (GtkWidget *widget,
|
||||
void
|
||||
test_init (void)
|
||||
{
|
||||
if (g_file_test ("../gdk-pixbuf/libpixbufloader-pnm.la",
|
||||
G_FILE_TEST_EXISTS))
|
||||
{
|
||||
g_setenv ("GDK_PIXBUF_MODULE_FILE", "../gdk-pixbuf/loaders.cache", TRUE);
|
||||
g_setenv ("GTK_IM_MODULE_FILE", "../modules/input/immodules.cache", TRUE);
|
||||
}
|
||||
if (g_file_test ("../modules/input/immodules.cache", G_FILE_TEST_EXISTS))
|
||||
g_setenv ("GTK_IM_MODULE_FILE", "../modules/input/immodules.cache", TRUE);
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -10101,12 +10101,8 @@ create_main_window (void)
|
||||
static void
|
||||
test_init (void)
|
||||
{
|
||||
if (g_file_test ("../gdk-pixbuf/libpixbufloader-pnm.la",
|
||||
G_FILE_TEST_EXISTS))
|
||||
{
|
||||
g_setenv ("GDK_PIXBUF_MODULE_FILE", "../gdk-pixbuf/loaders.cache", TRUE);
|
||||
g_setenv ("GTK_IM_MODULE_FILE", "../modules/input/immodules.cache", TRUE);
|
||||
}
|
||||
if (g_file_test ("../modules/input/immodules.cache", G_FILE_TEST_EXISTS))
|
||||
g_setenv ("GTK_IM_MODULE_FILE", "../modules/input/immodules.cache", TRUE);
|
||||
}
|
||||
|
||||
static char *
|
||||
|
Loading…
Reference in New Issue
Block a user