Re: gtk_widget_modify_style causes App to crash
- From: Havoc Pennington <hp redhat com>
- To: rpadalia qatar net qa
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk_widget_modify_style causes App to crash
- Date: 27 Nov 2001 09:00:08 -0500
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]