← Back to team overview

ayatana-commits team mailing list archive

Re: [Merge] lp:~ted/indicator-applet/dynamic-allocation into lp:indicator-applet

 

On Wed, 2009-11-25 at 21:57 +0000, Ted Gould wrote:
> 
> 
> I don't believe that GTK_WIDGET will barf.  I believe it just returns
> NULL.  Which (I haven't looked, but I'm pretty confident in) will
> cause
> gtk_box_pack_start() to throw a warning/error.  Which we can't catch
> and
> not print because, well, it's C :) 

I know :)

The helper I had in mind was:

void
foo(GtkWidget *widget ....) {
if (NULL == widget)
   return;
....
}


Note that I'm not asking you to do this, as I mentioned its just
something I'd consider doing.

-Rob

-- 
https://code.launchpad.net/~ted/indicator-applet/dynamic-allocation/+merge/15230
Your team ayatana-commits is subscribed to branch lp:indicator-applet.



References