Bug 709528 - Remove unused nsDeviceContextSpecG::SetMultipleConcurrentDeviceContextsSupported; r=roc a=edmorley
authorMs2ger <ms2ger@gmail.com>
Sun, 11 Dec 2011 14:46:35 +0100
changeset 84055 0b049ae470c44d0cda7f48c610de602a3dc4ca07
parent 84054 0671a8773ca158a9b02ff53a7a57afe609c9ecb4
child 84056 cd7bd3b20de03eb7a6ff9d0d299d9b2166eeb46c
push id519
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 00:38:35 +0000
treeherdermozilla-beta@788ea1ef610b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc, edmorley
bugs709528
milestone11.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 709528 - Remove unused nsDeviceContextSpecG::SetMultipleConcurrentDeviceContextsSupported; r=roc a=edmorley
widget/src/gtk2/nsDeviceContextSpecG.cpp
--- a/widget/src/gtk2/nsDeviceContextSpecG.cpp
+++ b/widget/src/gtk2/nsDeviceContextSpecG.cpp
@@ -175,21 +175,16 @@ public:
   /* Does this device allow to set/change the spooler command ? */
   void SetCanChangeSpoolerCommand( bool aCanSetSpoolerCommand );
   /* Does this printer allow to set/change the spooler command ? */
   void SetSupportsSpoolerCommandChange( bool aSupportSpoolerCommandChange );
   
   /* Does this device allow to set/change number of copies for an document ? */
   void SetCanChangeNumCopies( bool aCanSetNumCopies );
 
-  /* Does this device allow multiple devicecontext instances to be used in
-   * parallel (e.g. print while the device is already in use by print-preview
-   * or printing while another print job is in progress) ? */
-  void SetMultipleConcurrentDeviceContextsSupported( bool aCanUseMultipleInstances );
-  
 private:
   /* private helper methods */
   void SetBoolValue( const char *tagname, bool value );
   void SetIntValue(  const char *tagname, PRInt32 value );
   void SetCharValue(  const char *tagname, const char *value );
 
   nsXPIDLCString          mPrinterName;
 };
@@ -367,21 +362,16 @@ void nsPrinterFeatures::SetSupportsJobTi
   SetBoolValue("supports_jobtitle_change", aSupportsJobTitle);
 }
 
 void nsPrinterFeatures::SetCanChangeNumCopies( bool aCanSetNumCopies )
 {
   SetBoolValue("can_change_num_copies", aCanSetNumCopies);
 }
 
-void nsPrinterFeatures::SetMultipleConcurrentDeviceContextsSupported( bool aCanUseMultipleInstances )
-{
-  SetBoolValue("can_use_multiple_devicecontexts_concurrently", aCanUseMultipleInstances);
-}
-
 #endif /* SET_PRINTER_FEATURES_VIA_PREFS */
 
 //---------------
 // static members
 GlobalPrinters GlobalPrinters::mGlobalPrinters;
 nsTArray<nsString>* GlobalPrinters::mGlobalPrinterList = nsnull;
 //---------------