gtk-label-wrap-width works no longer?



Hi all,

been using: 

GtkStyle *style = GTK_WIDGET (label)->style;
g_assert(style);

LabelWrapWidth *wrap_width = g_object_get_data (G_OBJECT (style),
        "gtk-label-wrap-width");

and would get this:
struct _LabelWrapWidth
{
  gint width;
  PangoFontDescription *font_desc;
}; 


now, with libgtk 2.8.6, I always get NULL.
Has there been an api change that google doesn't know anything about?

TIA,

Karl.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]