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


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
  • Style Denis Serebro
    • Vlad Harchev

Reply via email to