Re: Call to _type function loops in g_slist_find



On Wed, 2008-08-13 at 04:26 -0400, Braden McDaniel wrote:
> I have the following sequence of events:
> 
> A (custom) widget (derived from GtkPlug) is constructed. A function
> associated with the widget is called in response to a D-Bus remote call;
> this function calls gtk_plug_get_id on the widget's GtkPlug instance.
> The call to _get_id results in a call to _realize, which I've overridden
> for the widget. In my _realize function, I create some widgets and add
> them to the plug; or rather, I would if this part got very far.
> 
> What happens instead is that I seem to wind up looping forever inside a
> call to g_slist_find that results from a call to the _type function for
> the widget I'm trying to create in _realize. This is another custom
> widget; its _type function was defined using G_DEFINE_TYPE.
> 
> Any ideas about what's going on here?

Ugh... Nevermind. Just a silly mistake invoking G_DEFINE_TYPE.

-- 
Braden McDaniel                           e-mail: <braden endoframe com>
<http://endoframe.com>                    Jabber: <braden jabber org>




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