Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mullvad Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Mullvad Browser
Commits
6311232b
Commit
6311232b
authored
26 years ago
by
rods%netscape.com
Browse files
Options
Downloads
Patches
Plain Diff
Changed GetItemAt to return a nsISupports instead of a nsIMenuItem, this is
because a menu can hold both other menus and menu items.
parent
d05a1b9d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
widget/public/nsIMenu.h
+2
-2
2 additions, 2 deletions
widget/public/nsIMenu.h
with
2 additions
and
2 deletions
widget/public/nsIMenu.h
+
2
−
2
View file @
6311232b
...
@@ -100,10 +100,10 @@ class nsIMenu : public nsISupports {
...
@@ -100,10 +100,10 @@ class nsIMenu : public nsISupports {
NS_IMETHOD
GetItemCount
(
PRUint32
&
aCount
)
=
0
;
NS_IMETHOD
GetItemCount
(
PRUint32
&
aCount
)
=
0
;
/**
/**
* Returns a Menu Item at a specified Index
* Returns a Menu
or Menu
Item at a specified Index
*
*
*/
*/
NS_IMETHOD
GetItemAt
(
const
PRUint32
aCount
,
nsI
MenuItem
*&
aMenuItem
)
=
0
;
NS_IMETHOD
GetItemAt
(
const
PRUint32
aCount
,
nsI
Supports
*&
aMenuItem
)
=
0
;
/**
/**
* Inserts a Menu Item at a specified Index
* Inserts a Menu Item at a specified Index
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment