gtk_widget_modify_style causes App to crash
- From: Rajesh Padalia <rpadalia qatar net qa>
- To: gtk-app-devel-list gnome org
- Subject: gtk_widget_modify_style causes App to crash
- Date: Tue, 27 Nov 2001 15:20:39 -0300
Hi,
I am using following code to set font of Rows in Clist. It works but
causes Application to crash after setting font few times. Any
ideas? Appreciate your help in sorting out this problem.
GtkRcStyle * rcstyle = gtk_rc_style_new();
rcstyle->font_name = Font_Selected;
(gchar * Font_Selected is set through GnomeFontPicker)
gtk_widget_modify_style(GTK_CLIST(alarm_clist), rcstyle));
gtk_rc_style_unref(rcstyle);
Thanks
Rajesh Padalia
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]