Re: Deprecated function without replacement
- From: Matthias Clasen <matthias clasen gmail com>
- To: Hubert Figuiere <hfiguiere teaser fr>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: Deprecated function without replacement
- Date: Fri, 13 Feb 2009 21:32:16 -0500
On Fri, Feb 13, 2009 at 8:42 PM, Hubert Figuiere <hfiguiere teaser fr> wrote:
> - Show quoted text -
> On 02/13/2009 07:52 PM, Matthias Clasen wrote:
>>
>> On Fri, Feb 13, 2009 at 7:11 PM, Hubert Figuiere<hfiguiere teaser fr>
>> wrote:
>>>
>>> Hi,
>>>
>>>
>>> gtk_label_parse_uline() is marked as deprecated but does not seem to have
>>> a
>>> replacement. Is there any plan to replace it?
>>>
>>> I'm trying to cleanup the code in AbiWord to build without deprecated
>>> GTK,
>>> but this one seems to be a no go.
>>>
>>> Any idea beside copying the code from Gtk directly to AbiWord?
>>>
>>
>> Not sure if it helps, but the docs say:
>>
>> @Deprecated: Use gtk_label_set_use_underline() instead.
>
> The doc displayed in DevHelp *here* does not show this.
>
> And gtk_label_set_use_underline() just return a bool, which is not the
> purpose gtk_label_parse_uline() which actually return the "accel"
>
The mnemonic that gtk sets on the label as result of
gtk_label_parse_uline() is available via
gtk_label_get_mnemonic_keyval.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]