summaryrefslogtreecommitdiff
path: root/tests/testdnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdnd.c')
-rw-r--r--tests/testdnd.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/testdnd.c b/tests/testdnd.c
index b81f938dca..ea6e468e38 100644
--- a/tests/testdnd.c
+++ b/tests/testdnd.c
@@ -494,13 +494,6 @@ popsite_leave (GtkDropControllerMotion *motion)
}
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);
-}
-
-static void
quit_cb (GtkWidget *widget,
gpointer data)
{
@@ -528,8 +521,6 @@ main (int argc, char **argv)
GtkEventController *controller;
gboolean done = FALSE;
- test_init ();
-
gtk_init ();
window = gtk_window_new ();