diff --git a/source/gx/tilix/terminal/monitor.d b/source/gx/tilix/terminal/monitor.d index affc4b86b..6705809b6 100644 --- a/source/gx/tilix/terminal/monitor.d +++ b/source/gx/tilix/terminal/monitor.d @@ -128,7 +128,7 @@ enum SLEEP_CONSTANT_MS = 300; /** * List of processes being monitored. */ -shared ProcessStatus[GPid] processes; +shared(ProcessStatus)[GPid] processes; void monitorProcesses(int sleep, Tid tid) { bool abort = false; diff --git a/source/gx/tilix/terminal/password.d b/source/gx/tilix/terminal/password.d index 42bb9d15a..fbefc61b5 100644 --- a/source/gx/tilix/terminal/password.d +++ b/source/gx/tilix/terminal/password.d @@ -172,7 +172,7 @@ private: string uuid = randomUUID().toString(); pending[uuid] = c; import gtkc.glib; - HashTable attributes = new HashTable(g_str_hash, g_str_equal); + HashTable attributes = new HashTable(&g_str_hash, &g_str_equal); immutable(char*) uuidz = toStringz(uuid); attributes.insert(cast(void*)attrID, cast(void*)uuidz); attributes.insert(cast(void*)attrDescription, cast(void*)descriptionValue); @@ -285,7 +285,7 @@ private: HashTable createHashTable() { import gtkc.glib; - return new HashTable(g_str_hash, g_str_equal); + return new HashTable(&g_str_hash, &g_str_equal); } void createSchema() {