Re: Deprecated function without replacement



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]