Bug 879760 - Port GTK2 to GTK3 - browser dir. r=karlt

This commit is contained in:
Martin Stransky
2013-06-11 13:40:28 -04:00
parent 8a69e2c49e
commit 09e52f9c10
15 changed files with 27 additions and 28 deletions

View File

@@ -27,7 +27,7 @@
#include "imgIRequest.h"
#include "imgIContainer.h"
#include "prprf.h"
#ifdef MOZ_WIDGET_GTK2
#if defined(MOZ_WIDGET_GTK)
#include "nsIImageToPixbuf.h"
#endif
#include "nsXULAppAPI.h"
@@ -368,7 +368,7 @@ nsGNOMEShellService::GetCanSetDesktopBackground(bool* aResult)
static nsresult
WriteImage(const nsCString& aPath, imgIContainer* aImage)
{
#ifndef MOZ_WIDGET_GTK2
#if !defined(MOZ_WIDGET_GTK)
return NS_ERROR_NOT_AVAILABLE;
#else
nsCOMPtr<nsIImageToPixbuf> imgToPixbuf =