summaryrefslogtreecommitdiffhomepage
path: root/mixgtk/mixgtk_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'mixgtk/mixgtk_device.c')
-rw-r--r--mixgtk/mixgtk_device.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mixgtk/mixgtk_device.c b/mixgtk/mixgtk_device.c
index e94006e..2b0bf2e 100644
--- a/mixgtk/mixgtk_device.c
+++ b/mixgtk/mixgtk_device.c
@@ -357,7 +357,6 @@ gboolean
mixgtk_device_init (GtkNotebook *container, mix_vm_t *vm)
{
gint k = 0;
- static gchar *devdir = NULL;
g_return_val_if_fail (container != NULL, FALSE);
g_return_val_if_fail (vm != NULL, FALSE);
@@ -372,13 +371,6 @@ mixgtk_device_init (GtkNotebook *container, mix_vm_t *vm)
/* remove dummy page from container */
gtk_notebook_remove_page (container_, 0);
- if (!devdir)
- {
- devdir = g_strconcat (g_get_home_dir(), G_DIR_SEPARATOR_S,
- MIXGTK_FILES_DIR, NULL);
- mix_device_set_dir (devdir);
- }
-
mix_vm_set_device_factory (vm, mixgtk_device_new_);
/* read format configuration */