Fix broken addon update

import/tags/kmeleon74
boisso 8 years ago
parent ae960b4364
commit ad486de8ae
  1. 6
      k-meleon/KmAppInfo.cpp
  2. 2
      k-meleon/KmAppInfo.h

@ -291,9 +291,11 @@ NS_IMETHODIMP KmAppInfo::GetStartupInfo(JSContext* cx, JS::Value *_retval)
/* attribute boolean interrupted; */
NS_IMETHODIMP KmAppInfo::GetInterrupted(bool *aInterrupted)
{
return NS_ERROR_NOT_IMPLEMENTED;
*aInterrupted = mInterrupted;
return NS_OK;
}
NS_IMETHODIMP KmAppInfo::SetInterrupted(bool aInterrupted)
{
return NS_ERROR_NOT_IMPLEMENTED;
mInterrupted = aInterrupted;
return NS_OK;
}

@ -27,7 +27,9 @@
class KmAppInfo: public nsIXULAppInfo, public nsIXULRuntime, public nsIAppStartup
{
bool mInterrupted;
public:
KmAppInfo() : mInterrupted(false) {}
NS_DECL_ISUPPORTS
NS_DECL_NSIXULAPPINFO
NS_DECL_NSIXULRUNTIME

Loading…
Cancel
Save