Re: Style
- From: Vlad Harchev <hvv hippo ru>
- To: Denis Serebro <serebro dins ru>
- Cc: gtk-list redhat com
- Subject: Re: Style
- Date: Wed, 26 Jul 2000 14:26:16 +0500 (SAMST)
On Wed, 26 Jul 2000, Denis Serebro wrote:
Hi Denis,
Just remove line with gtl_style_unref(button->style);
gtk_widget_set_style() does this itself. When I tried your code, the program
didn't segfaulted though (I use gtk+-1.2.3).
> Hello, All.
>
> Sorry for my English. When i try create and destroy widget with changed style, I get
> Gtk-CRITICAL **: file gtkstyle.c: line 606 (gtk_style_ref): assertion `style->ref_count > 0' failed.
>
> What's wrong ? See my code:
>[...]
Best regards,
-Vlad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]