Skip to content

Commit

Permalink
fix #35
Browse files Browse the repository at this point in the history
  • Loading branch information
guinux committed Mar 10, 2015
1 parent 83bd32c commit e7f0e08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/refresh.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand All @@ -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);
}
Expand Down

0 comments on commit e7f0e08

Please sign in to comment.