RE: settting the background and foreground



On Mon, 2011-01-17 at 09:58 +0100, Mark Roberts wrote:
> Dear Randy,
> 
> >   Glib::RefPtr<Gdk::Window> win = get_window();
> >   Glib::RefPtr<Gdk::GC> some_gc = Gdk::GC::create(win);
> 
> ...
> 
> > The program console showed:
> >
> > (Hello:2839): Gdk-CRITICAL **: gdk_gc_new: assertion `drawable != NULL'
> > failed
> 
> Surely the error message says exactly what it was saying last week, namely 
> that your ref ptr 'win' contains a NULL, which means your program fails at 
> line one. Concentrate on that. When that is solved the GC-creation will 
> work, and then the rest of the program becomes interesting.
> 
> Good luck!
> Mark

Mark, my friend.  It is good to see that you are still around.  I'm
really happy about that.  I wanted to write to you and let you know that
recently I've got an offer to work for my congregation which I will be
accepting.  It is a "higher calling" for me, but it is something that I
want to do.

I've been in the process of finish up some things and they are pretty
much complete.  I've always kept you in my thoughts and prayers wishing
you well always.  I wont forget your kindness and wisdom.  I just wanted
you to know that I may not be around but that nothing is wrong, just
following a higher calling.  Have fun here and maybe we'll hear from
each other again some time. :-)  Take care.

-- 
José



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]