summaryrefslogtreecommitdiff
path: root/tests/testcombochange.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-06-28 13:08:44 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-06-28 13:42:02 -0400
commit01fbf8444b75089003d6b29e2a15d83016b62124 (patch)
treeac1cc9dc9f9b10ca3742908899fd907f1a924fd5 /tests/testcombochange.c
parent1f8c79eca1db3013b9487f3d3ecf9f443081fd5f (diff)
downloadgtk+-01fbf8444b75089003d6b29e2a15d83016b62124.tar.gz
Stop setting GTK_IM_MODULE_FILE
GTK no longer reads this environment variable, so setting it can have no benefit for uninstalled demos anymore.
Diffstat (limited to 'tests/testcombochange.c')
-rw-r--r--tests/testcombochange.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/testcombochange.c b/tests/testcombochange.c
index 01bac3379a..a72a44ad46 100644
--- a/tests/testcombochange.c
+++ b/tests/testcombochange.c
@@ -26,13 +26,6 @@ GArray *contents;
static char next_value = 'A';
-static void
-test_init (void)
-{
- if (g_file_test ("../modules/input/immodules.cache", G_FILE_TEST_EXISTS))
- g_setenv ("GTK_IM_MODULE_FILE", "../modules/input/immodules.cache", TRUE);
-}
-
G_GNUC_PRINTF (1, 2) static void
combochange_log (const char *fmt,
...)
@@ -200,8 +193,6 @@ main (int argc, char **argv)
GtkWidget *combo;
GtkCellRenderer *cell_renderer;
- test_init ();
-
gtk_init ();
model = gtk_list_store_new (1, G_TYPE_STRING);