Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
1619a9c8
Commit
1619a9c8
authored
Mar 26, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mozilla: fix compilation on OSX, where we don't use libX11
parent
114bddb7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
projects/mozilla/vlcshell.cpp
projects/mozilla/vlcshell.cpp
+4
-1
No files found.
projects/mozilla/vlcshell.cpp
View file @
1619a9c8
...
@@ -364,8 +364,10 @@ NPError NPP_Destroy( NPP instance, NPSavedData** save )
...
@@ -364,8 +364,10 @@ NPError NPP_Destroy( NPP instance, NPSavedData** save )
NPError
NPP_SetWindow
(
NPP
instance
,
NPWindow
*
window
)
NPError
NPP_SetWindow
(
NPP
instance
,
NPWindow
*
window
)
{
{
#ifdef XP_UNIX && !defined(__APPLE__)
Window
control
;
Window
control
;
unsigned
int
i_control_height
=
0
,
i_control_width
=
0
;
unsigned
int
i_control_height
=
0
,
i_control_width
=
0
;
#endif
if
(
!
instance
)
if
(
!
instance
)
{
{
...
@@ -379,8 +381,9 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
...
@@ -379,8 +381,9 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
/* we should probably show a splash screen here */
/* we should probably show a splash screen here */
return
NPERR_NO_ERROR
;
return
NPERR_NO_ERROR
;
}
}
#ifdef XP_UNIX && !defined(__APPLE__)
control
=
p_plugin
->
getControlWindow
();
control
=
p_plugin
->
getControlWindow
();
#endif
libvlc_instance_t
*
p_vlc
=
p_plugin
->
getVLC
();
libvlc_instance_t
*
p_vlc
=
p_plugin
->
getVLC
();
/*
/*
...
...
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