[vlc-devel] commit: dialog_Fatal: implement no interaction ( Rémi Denis-Courmont )

git version control git at videolan.org
Fri Mar 6 17:15:51 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Mar  6 18:15:00 2009 +0200| [a21347d0362b56ee14b1d63634648c3cae5028da] | committer: Rémi Denis-Courmont 

dialog_Fatal: implement no interaction

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a21347d0362b56ee14b1d63634648c3cae5028da
---

 src/interface/dialog.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/interface/dialog.c b/src/interface/dialog.c
index db667c9..6cce299 100644
--- a/src/interface/dialog.c
+++ b/src/interface/dialog.c
@@ -98,6 +98,9 @@ void dialog_FatalVa (vlc_object_t *obj, const char *title,
 {
     char *text;
 
+    if (obj->i_flags & OBJECT_FLAGS_NOINTERACT)
+        return;
+
     vlc_object_t *provider = dialog_GetProvider (obj);
     if (provider == NULL)
     {




More information about the vlc-devel mailing list