[ wxwindows-Bugs-1767485 ] wxGtk uses private API, breaks with gtk 2.11.6

SourceForge.net noreply at sourceforge.net
Fri Aug 10 04:06:19 PDT 2007


Bugs item #1767485, was opened at 2007-08-04 07:54
Message generated for change (Comment added) made by juliansmart
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1767485&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
>Resolution: Fixed
Priority: 9
Private: No
Submitted By: Sebastian Dröge (slomosnail)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxGtk uses private API, breaks with gtk 2.11.6

Initial Comment:
Hi,
wxGtk uses private Gtk API in src/gtk/settings.cpp at least. The GtkTooltips->tip_window field is marked private[0] and it's use in Gtk was stopped with version 2.11.6, thus it's always NULL now.

This makes gtk_widget_ensure_style(tooltips->tip_window) print a critical warning and the pointer dereference one line below gives a segfault.

The change in Gtk is [1]. Please fix this ASAP, otherwise many users will get a broken wxGtk soonish when all distributions switch to 2.12.

Bye

[0] http://svn.gnome.org/viewcvs/gtk%2B/trunk/gtk/gtktooltips.h?revision=18520&view=markup
[1] http://svn.gnome.org/viewcvs/gtk%2B/trunk/gtk/gtktooltips.c?r1=18241&r2=18418

----------------------------------------------------------------------

>Comment By: Julian Smart (juliansmart)
Date: 2007-08-10 11:06

Message:
Logged In: YES 
user_id=59495
Originator: NO

Thanks, I've committed a fix to stop it from crashing, but since I don't
know how to get the colour I'll leave this bug report open: perhaps Robert
or Mart can comment.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1767485&group_id=9863




More information about the wx-dev mailing list