Fix linter errors

This commit is contained in:
Jonas Schwabe 2016-06-26 02:00:41 +02:00
parent b22ce93477
commit e3ba6818af
2 changed files with 3 additions and 3 deletions

View file

@ -149,14 +149,14 @@ class Browser : public WindowListObserver {
// one from app's name. // one from app's name.
// The returned string managed by Browser, and should not be modified. // The returned string managed by Browser, and should not be modified.
PCWSTR GetAppUserModelID(); PCWSTR GetAppUserModelID();
#endif // defined(OS_WIN) #endif // defined(OS_WIN)
#if defined(OS_LINUX) #if defined(OS_LINUX)
// Set/Get unity dock's badge counter. // Set/Get unity dock's badge counter.
bool UnityLauncherAvailable(); bool UnityLauncherAvailable();
void UnityLauncherSetBadgeCount(int count); void UnityLauncherSetBadgeCount(int count);
int UnityLauncherGetBadgeCount(); int UnityLauncherGetBadgeCount();
#endif // defined(OS_LINUX) #endif // defined(OS_LINUX)
// Tell the application to open a file. // Tell the application to open a file.
bool OpenFile(const std::string& file_path); bool OpenFile(const std::string& file_path);

View file

@ -49,7 +49,7 @@ if (process.platform === 'linux' && bindings.unityLauncherAvailable()) {
app.unityLauncher = { app.unityLauncher = {
setBadgeCount: bindings.unityLauncherSetBadgeCount, setBadgeCount: bindings.unityLauncherSetBadgeCount,
getBadgeCount: bindings.unityLauncherGetBadgeCount getBadgeCount: bindings.unityLauncherGetBadgeCount
}; }
} }
app.allowNTLMCredentialsForAllDomains = function (allow) { app.allowNTLMCredentialsForAllDomains = function (allow) {