add vala 0.36 support

This commit is contained in:
guinux 2017-01-02 12:52:38 +01:00
parent c44c9ed991
commit c0bb696fdc
2 changed files with 3 additions and 3 deletions

View File

@ -2192,7 +2192,7 @@ private int cb_fetch (string fileurl, string localpath, int force) {
string hostname = url.get_uri ().split("/")[2];
pamac_daemon.emit_log ((uint) Alpm.LogLevel.ERROR,
_("failed retrieving file '%s' from %s : %s\n").printf (
url.get_basename (), hostname, error_buffer));
url.get_basename (), hostname, (string) error_buffer));
}
ret = -1;
break;

View File

@ -1105,10 +1105,10 @@ namespace Pamac {
action = dgettext (null, "Downloading required keys") + "...";
break;
case 39: //Alpm.Event.Type.PACNEW_CREATED
detailed_action = dgettext (null, "%s installed as %s.pacnew").printf (details[0]);
detailed_action = dgettext (null, "%s installed as %s.pacnew").printf (details[0], details[0]);
break;
case 40: //Alpm.Event.Type.PACSAVE_CREATED
detailed_action = dgettext (null, "%s installed as %s.pacsave").printf (details[0]);
detailed_action = dgettext (null, "%s installed as %s.pacsave").printf (details[0], details[0]);
break;
case 41: //Alpm.Event.Type.HOOK_START
switch (secondary_event) {