Closed Bug 1174374 Opened 4 years ago Closed 4 years ago

gdk_cursor_new() is deprecated

Categories

(Core :: Widget: Gtk, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: hub, Assigned: hub)

Details

Attachments

(1 file)

In gtk 3.16, gdk_cursor_new() is deprecated and gdk_cursor_new_for_display() should be used. The later function is available since gtk 2.2 so we are safe to do the change for both Gtk2 and Gtk3.

Will provide a patch.
Attached patch Proposed patchSplinter Review
This should remove a few dozen of warnings.
Assignee: nobody → hub
Status: NEW → ASSIGNED
Attachment #8621928 - Flags: review?(karlt)
Attachment #8621928 - Flags: review?(karlt) → review+
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
sorry closed by mistake. should land on m-c
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
https://hg.mozilla.org/mozilla-central/rev/fbfb01908458
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.