Patch for xfrun

James Tappin sjt at star.sr.bham.ac.uk
Wed Mar 12 13:06:21 CET 2003


On 11 Mar 2003 21:22:45 +0100
Olivier Fourdan <fourdan at xfce.org> wrote:

OF> James,
OF> 
OF> I'm a bit puzzled with the need of "undefining"
OF> GTK_DISABLE_DEPRECATED
OF> 
OF> Note that on a production build wel'' remove all that DEPRECATED
OF> defines as there is no way to tell what will be deprecated in the
OF> future. We use it during the devel phase only, to make sure the code
OF> we write now is not already deprecated :)
OF> 
OF> This said, would you mind asking the gtk-app-devel-list at gnome.org ?
OF> 
OF> Cheers,
OF> Olivier.
OF>  

A quick search of gtk-app-devel-list for gtkcombo shows the following as
the very first thing found:

> From: Havoc Pennington <hp redhat com>
>  
> To: Joshua N Pritikin <vishnu pobox com>
>  
> Cc: gtk-app-devel-list gnome org
>  
> Subject: Re: status of GtkCombo (gtk 1.3.6)
>  
> Date: 20 Aug 2001 12:50:45 -0400
>  
>  
> Joshua N Pritikin <vishnu at pobox.com> writes:
> > i'm trying to use GtkCombo, but it seems to have a reference counting
> > problem somewhere in gtk_combo_set_popdown_strings.  i notice that
> > GtkCombo uses GtkList, which is deprecated, yet, GtkCombo is not
> > deprecated.  What is the meaning?
> 
> GtkList is deprecated for direct use, but not for use in
> GtkCombo. GtkCombo would be deprecated if we had a replacement, but we
> don't yet, so it isn't yet.
> 
> > Is there need for someone to hack GtkCombo and replace the GtkList
> > with a GtkListView?
> 
> I think that would be bad, since we intend to replace GtkCombo; best
> to avoid code churn.
> 
> Havoc

And there doesn't seem to by any change. So until the intended
replacement of GtkCombo happens, it's either necessary to allow
deprecated code or to do without doing any but the shrink-wrapped combo
operations on the list.

James

-- 
+------------------------+-------------------------------+---------+
| James Tappin           | School of Physics & Astronomy |  O__    |
| sjt at star.sr.bham.ac.uk | University of Birmingham      | --  \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722                  |         |
+--------------------------------------------------------+---------+



More information about the Xfce4-dev mailing list