Re: gtk_widget_modify_style causes App to crash



Rajesh Padalia <rpadalia qatar net qa> writes: 
GtkRcStyle * rcstyle = gtk_rc_style_new();
rcstyle->font_name = Font_Selected;

You probably need:
 g_free (rcstyle->font_name);
 rcstyle->font_name = g_strdup (Font_Selected);

Havoc



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