Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e2cb0c82
Commit
e2cb0c82
authored
Dec 22, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Move preferences settings to separated function.
parent
a47292a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
nsembed.c
dlls/mshtml/nsembed.c
+7
-1
No files found.
dlls/mshtml/nsembed.c
View file @
e2cb0c82
...
...
@@ -371,7 +371,6 @@ static void set_bool_pref(nsIPrefBranch *pref, const char *pref_name, BOOL val)
static
void
set_profile
(
void
)
{
nsIPrefBranch
*
pref
;
nsIProfile
*
profile
;
PRBool
exists
=
FALSE
;
nsresult
nsres
;
...
...
@@ -397,6 +396,12 @@ static void set_profile(void)
ERR
(
"SetCurrentProfile failed: %08x
\n
"
,
nsres
);
nsIProfile_Release
(
profile
);
}
static
void
set_preferences
(
void
)
{
nsIPrefBranch
*
pref
;
nsresult
nsres
;
nsres
=
nsIServiceManager_GetServiceByContractID
(
pServMgr
,
NS_PREFERENCES_CONTRACTID
,
&
IID_nsIPrefBranch
,
(
void
**
)
&
pref
);
...
...
@@ -469,6 +474,7 @@ static BOOL init_xpcom(const PRUnichar *gre_path)
}
set_profile
();
set_preferences
();
nsres
=
nsIComponentManager_CreateInstanceByContractID
(
pCompMgr
,
NS_MEMORY_CONTRACTID
,
NULL
,
&
IID_nsIMemory
,
(
void
**
)
&
nsmem
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment