Browse Source

main: enable debuging if enabled in config file

bboozzoo/device-cache
Maciek Borzecki 10 years ago
parent
commit
212059761e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/main.vala

+ 3
- 0
src/main.vala View File

@ -45,6 +45,9 @@ public static int main(string[] args)
if (core == null)
error("cannot initialize core");
if (core.config.is_debug_on() == true)
Environment.set_variable("G_MESSAGES_DEBUG", "all", false);
var loop = new MainLoop();
var discovery = new Discovery();
var manager = new DeviceManager();


Loading…
Cancel
Save