Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
afacc88a
Commit
afacc88a
authored
Jul 05, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Separate variable for modal and non modal errors
parent
9a55c487
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
include/vlc_dialog.h
include/vlc_dialog.h
+0
-1
src/interface/dialog.c
src/interface/dialog.c
+3
-2
No files found.
include/vlc_dialog.h
View file @
afacc88a
...
...
@@ -35,7 +35,6 @@ typedef struct dialog_fatal_t
{
const
char
*
title
;
const
char
*
message
;
bool
modal
;
}
dialog_fatal_t
;
VLC_EXPORT
(
void
,
dialog_VFatal
,
(
vlc_object_t
*
,
bool
,
const
char
*
,
const
char
*
,
va_list
)
);
...
...
src/interface/dialog.c
View file @
afacc88a
...
...
@@ -119,8 +119,9 @@ void dialog_VFatal (vlc_object_t *obj, bool modal, const char *title,
if
(
vasprintf
(
&
text
,
fmt
,
ap
)
!=
-
1
)
{
dialog_fatal_t
dialog
=
{
title
,
text
,
modal
,
};
var_SetAddress
(
provider
,
"dialog-fatal"
,
&
dialog
);
dialog_fatal_t
dialog
=
{
title
,
text
,
};
var_SetAddress
(
provider
,
modal
?
"dialog-critical"
:
"dialog-error"
,
&
dialog
);
free
(
text
);
}
vlc_object_release
(
provider
);
...
...
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