Skip to content
Snippets Groups Projects
Commit 94866383 authored by Sarah Renkhoff's avatar Sarah Renkhoff
Browse files

Adjust GTK flags to make separate instances independent

parent 12eaac41
No related branches found
No related tags found
No related merge requests found
......@@ -12,9 +12,13 @@ use std::cell::{RefCell};
use std::rc::{Rc};
fn main() {
let mut flags = gio::ApplicationFlags::empty();
flags.set(gio::ApplicationFlags::HANDLES_OPEN, true);
flags.set(gio::ApplicationFlags::NON_UNIQUE, true);
let application = Application::new(
Some("org.muninn"),
gio::ApplicationFlags::HANDLES_OPEN,
flags,
);
use state::{State};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment