[mythtv] [mythtv-commits] mythtv commit: r15153 by stuartm

Stuart Morgan stuart at tase.co.uk
Fri Dec 14 13:40:33 UTC 2007


On Thursday 13 December 2007 21:57:32 Nigel Pearson wrote:
> % svn diff -r15152:15153 mythuibutton.cpp
> Index: mythuibutton.cpp
> ===================================================================
> --- mythuibutton.cpp    (revision 15152)
> +++ mythuibutton.cpp    (revision 15153)
> @@ -1,7 +1,6 @@
>   #include <iostream>
>   using namespace std;
>
> -#include "mythcontext.h"
>   #include "mythuibutton.h"
>   #include "mythmainwindow.h"
>
> ...
>
> @@ -299,7 +301,7 @@
>       MythUIButton *button = dynamic_cast<MythUIButton *>(base);
>       if (!button)
>       {
> -        VERBOSE(VB_IMPORTANT, "ERROR, bad parsing");
> +        cerr << "ERROR, bad parsing" << endl;
>           return;
>       }
>
>
> Note sure of the rationale behind this, but if the aim was
> to remove a dependence on mythcontext.h, using mythverbose.h
> may do the trick?

Not really sure what I was thinking there, at the back of my mind I had some 
notion of removing the dependence on libmyth in libmythui. It may be a futile 
effort though. The image loading/scaling/caching functions can happily be 
moved into libmythui though and that's what I have planned.
-- 
Stuart Morgan


More information about the mythtv-dev mailing list