Bug 118381 - [GTK] gtk_icon_info_free is deprecated since GTK+ 3.8
Summary: [GTK] gtk_icon_info_free is deprecated since GTK+ 3.8
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2013-07-04 01:24 PDT by Iago Toral
Modified: 2017-03-11 10:57 PST (History)
2 users (show)

See Also:

Proposed (1.57 KB, patch)
2013-07-04 01:32 PDT, Iago Toral
cgarcia: review-
cgarcia: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Iago Toral 2013-07-04 01:24:47 PDT
gtk_icon_info_free has been deprecated in favor of g_object_unref. I'll attach patch shortly.
Comment 1 Iago Toral 2013-07-04 01:32:47 PDT
Created attachment 206062 [details]
Comment 2 Carlos Garcia Campos 2013-07-04 01:42:21 PDT
Comment on attachment 206062 [details]

We can't do this, we depend on GTK+ 3.6, where GtkIconInfo is not a GObject but a boxed type. We need to add an #ifdef until we bump the required version to 3.8, or we can simply ignore deprecated symbols in gtk versions grater than 3.6. I even proposed a patch to remove the annoying warnings for those cases indeed, see bug #118237.