Commit e7f0e086 authored by guinux's avatar guinux

fix #35

parent 83bd32c2
......@@ -20,7 +20,7 @@
namespace Pamac {
[DBus (name = "org.manjaro.pamac")]
public interface Daemon : Object {
public abstract void refresh (int force, bool emit_signal) throws IOError;
public abstract void start_refresh (int force, bool emit_signal) throws IOError;
}
}
......@@ -29,7 +29,7 @@ int main (string[] args) {
try {
daemon = Bus.get_proxy_sync (BusType.SYSTEM, "org.manjaro.pamac",
"/org/manjaro/pamac");
daemon.refresh (0, false);
daemon.start_refresh (0, false);
} catch (IOError e) {
stderr.printf ("IOError: %s\n", e.message);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment