]> git.sesse.net Git - vlc/blobdiff - src/interface/dialog.c
dialog_ProgressSet: add an optional string parameter
[vlc] / src / interface / dialog.c
index 6aa87c7f901c1ec8f67642f2d569c80f3c9736e2..22ac7859e77f28269b1e8f5002e941bd27f0dbe9 100644 (file)
@@ -243,11 +243,12 @@ void dialog_ProgressDestroy (dialog_progress_bar_t *dialog)
     free (dialog);
 }
 
-void dialog_ProgressSet (dialog_progress_bar_t *dialog, float value)
+void dialog_ProgressSet (dialog_progress_bar_t *dialog, const char *text,
+                         float value)
 {
     assert (dialog);
 
-    dialog->pf_update (dialog->p_sys, value);
+    dialog->pf_update (dialog->p_sys, text, value);
 }
 
 bool dialog_ProgressCancelled (dialog_progress_bar_t *dialog)