Bug 4024 - Don't use deprecated GCompletion API
Summary: Don't use deprecated GCompletion API
Status: NEW
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.17.0
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2018-05-04 20:29 UTC by Avinash Sonawane
Modified: 2018-09-12 12:13 UTC (History)
0 users

See Also:


Attachments

Description Avinash Sonawane 2018-05-04 20:29:25 UTC
Hello!

src/addr_compl.c uses following functions from deprecated GCompletion API:

1. g_completion_new()
2. g_completion_set_compare()
3. g_completion_clear_items()
4. g_completion_free()
5. g_completion_add_items()
6. g_completion_complete()

As the docs[0] say, these functions are deprecated and may be we should use GtkEntryCompletion[1] instead.

[0] https://developer.gnome.org/glib/stable/glib-Automatic-String-Completion.html#g-completion-new
[1] https://developer.gnome.org/gtk2/stable/GtkEntryCompletion.html#gtk-entry-completion-new

Note You need to log in before you can comment on or make changes to this bug.