widget-stack-classes
author Benjamin Smedberg <benjamin@smedbergs.us>
Sat, 26 Jul 2008 22:49:39 -0400
changeset 167 a4da40849f5436e629c5732f4368c6c48189637f
parent 145 cce9afb1935af093e0876e643dbcdf9b6ed3b0e6
permissions -rw-r--r--
State as of now

* * *
* * *
* * *

diff --git a/widget/src/gtk2/nsDeviceContextSpecG.cpp b/widget/src/gtk2/nsDeviceContextSpecG.cpp
--- a/widget/src/gtk2/nsDeviceContextSpecG.cpp
+++ b/widget/src/gtk2/nsDeviceContextSpecG.cpp
@@ -116,7 +116,9 @@ protected:
 
 #ifdef SET_PRINTER_FEATURES_VIA_PREFS
 /* "Prototype" for the new nsPrinterFeatures service */
-class nsPrinterFeatures {
+class
+  NS_STACK_CLASS
+nsPrinterFeatures {
 public:
   nsPrinterFeatures( const char *printername );
   ~nsPrinterFeatures() {}
diff --git a/widget/src/gtk2/nsPrintDialogGTK.cpp b/widget/src/gtk2/nsPrintDialogGTK.cpp
--- a/widget/src/gtk2/nsPrintDialogGTK.cpp
+++ b/widget/src/gtk2/nsPrintDialogGTK.cpp
@@ -184,7 +184,9 @@ ShowCustomDialog(GtkComboBox *changed_bo
   gtk_widget_destroy(prompt_dialog);
 }
 
-class nsPrintDialogWidgetGTK {
+class
+  NS_STACK_CLASS
+nsPrintDialogWidgetGTK {
   public:
     nsPrintDialogWidgetGTK(nsIDOMWindow *aParent, nsIPrintSettings *aPrintSettings);
     ~nsPrintDialogWidgetGTK() { gtk_widget_destroy(dialog); }
diff --git a/widget/src/xpwidgets/nsIdleService.h b/widget/src/xpwidgets/nsIdleService.h
--- a/widget/src/xpwidgets/nsIdleService.h
+++ b/widget/src/xpwidgets/nsIdleService.h
@@ -49,7 +49,10 @@
 
 // Class we can use to store an observer with its associated idle time
 // requirement and whether or not the observer thinks it's "idle".
-class IdleListener {
+class
+    NS_STACK_CLASS
+IdleListener
+{
 public:
     nsCOMPtr<nsIObserver> observer;
     PRUint32 reqIdleTime;