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.
_______________________________________________
Mailing list: https://launchpad.net/~ayatana-commits
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ayatana-commits
More help : https://help.launchpad.net/ListHelp