app-manager/update.c
changeset 84 351e9d7a66d0
parent 24 2b9f54d14cc2
child 98 71127797ca73
     1.1 --- a/app-manager/update.c	Sat Nov 15 19:04:45 2014 +0000
     1.2 +++ b/app-manager/update.c	Wed Sep 12 17:12:10 2018 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (C) 2014  J. Ali Harlow <ali@juiblex.co.uk>
     1.6 + * Copyright (C) 2014, 2016  J. Ali Harlow <ali@juiblex.co.uk>
     1.7   *
     1.8   * This program is free software; you can redistribute it and/or modify
     1.9   * it under the terms of the GNU General Public License as published by
    1.10 @@ -29,16 +29,16 @@
    1.11  #include <plover-gtk/transactionhelper.h>
    1.12  #include "app-manager.h"
    1.13  
    1.14 -gboolean update(PloverPackageSet *installed,const char *base)
    1.15 +
    1.16 +gboolean update(const char *base)
    1.17  {
    1.18 -    gchar *s;
    1.19 +    gchar *s,*database_uri;
    1.20      const char *prefix;
    1.21      GError *error=NULL;
    1.22      static PloverTransactionHelper *helper=NULL;
    1.23      if (!helper)
    1.24      {
    1.25  	helper=plover_transaction_helper_new(ui);
    1.26 -	plover_transaction_helper_set_installed(helper,installed);
    1.27  	plover_transaction_helper_set_base(helper,base);
    1.28  	prefix=plover_transaction_helper_get_prefix(helper,&error);
    1.29  	if (error)