Bug 379141: fuelIPreference::modified should be readonly, r=mfinkle
authorgavin@gavinsharp.com
Sat, 28 Apr 2007 16:22:45 -0700
changeset 906 7dde35fa3f1f1c50e7fcafa4d8c9724bcbb113bb
parent 905 747e3fab1ffa63365e983dfaa8cc81f1dfee7005
child 907 94784b14a62b2d03709f30ea2d9058a597640ad7
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs379141
milestone1.9a5pre
Bug 379141: fuelIPreference::modified should be readonly, r=mfinkle
browser/fuel/public/fuelIApplication.idl
--- a/browser/fuel/public/fuelIApplication.idl
+++ b/browser/fuel/public/fuelIApplication.idl
@@ -68,19 +68,19 @@ interface fuelIEventListener : nsISuppor
 
 /**
  * Interface for supporting custom events.
  */
 [scriptable, uuid(3a8ec9d0-ab19-11db-abbd-0800200c9a66)]
 interface fuelIEvents : nsISupports
 {
   /**
-   * Adds an event listener to the list. If multiple identical event listeners
-   * are registered on the same event target with the same parameters the
-   * duplicate instances are discarded. They do not cause the EventListener
+   * Adds an event listener to the list. If multiple identical event listeners
+   * are registered on the same event target with the same parameters the
+   * duplicate instances are discarded. They do not cause the EventListener
    * to be called twice and since they are discarded they do not need to be
    * removed with the removeListener method.
    *
    * @param   aEvent
    *          The name of an event
    * @param   aListener
    *          The reference to a listener
    */
@@ -194,17 +194,17 @@ interface fuelIPreference : nsISupports
   /**
    * Get the locked state of the preference. Set to a boolean value to (un)lock it.
    */
   attribute boolean locked;
   
   /**
    * Check if a preference has been modified by the user, or not.
    */
-  attribute boolean modified;
+  readonly attribute boolean modified;
   
   /**
    * The preference branch that contains this preference.
    */
   readonly attribute fuelIPreferenceBranch branch;
   
   /**
    * The events object for this preference.