RE: Deprecated glib functions.



Hi Bill,
	Yes the g_main_iteration function has been deprecated. There is a
replacement. In glib/gmain.h the following is present under #ifndef
G_DISABLE_DEPRECATED

#define g_main_iteration(may_block) g_main_context_iteration      (NULL,
may_block)


With regards,
Shivram
> -----Original Message-----
> From: orbit-list-admin@gnome.org [mailto:orbit-list-admin@gnome.org]On
> Behalf Of Bill Haneman
> Sent: Monday, February 04, 2002 5:20 PM
> To: Shivram U
> Cc: desktop-devel-list@gnome.org; orbit-list@gnome.org
> Subject: Re: Deprecated glib functions.
>
>
> Shivram U wrote:
> >
> > Hi,
> >
> > Has anyone decided to remove the deprecated glib functions from
> the  ORBit2
> > and the libIDL libraries.
> >
> > The following functions are deprecated by glib and are in use in ORBit2.
> >
> > g_string_sprintf
> > g_string_sprintfa
> > g_main_iteration
> !!!!!!!!!!!!!!!!!!
>
> g_main_iteration is frequently used in gtk+, and it's used in
> bonobo-activation, and in at-spi.  It's news to me that it's
> deprecated.  What is the replacement?
>
> If there is no replacement which can accomplish the same thing I do not
> believe this function should be deprecated.
>
> -Bill
>
>
> > The following glib deprecated functions are used by libIDL.
> > g_strcasecmp
> > g_string_sprintf
> >
> > I have a patch to use the glib replacements for the above
> functions, and i
> > am now able to compile with the G_DISABLE_DEPRECATED  flag enabled.
> >
> > with regards,
> > Shivram
> >
> > _______________________________________________
> > orbit-list mailing list
> > orbit-list@gnome.org
> > http://mail.gnome.org/mailman/listinfo/orbit-list
> _______________________________________________
> orbit-list mailing list
> orbit-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/orbit-list
>




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