Skip to content
  • Owen Taylor's avatar
    Allow %NULL for style to mean "revert to default style" · fbfc3051
    Owen Taylor authored
    Tue Jun 26 19:39:03 2001  Owen Taylor  <otaylor@redhat.com>
    
    	* gtk/gtkwidget.c (gtk_widget_set_style): Allow %NULL
    	for style to mean "revert to default style"
    
    	* gtk/gtkwidget.[ch] (gtk_widget_set_rc_style,
    	  gtk_widget_restore_default_style): Make this functions
    	deprecated aliases for gtk_widget_set_style (widget, NULL).
    
    	* gtk/gtkwidget.[ch]: Remove:
    	   gtk_widget_set_default_style ()
    	   gtk_widget_push_style ()
    	   gtk_widget_pop_style ()
    	These functions interact are overriden by RC files, and
    	thus virtually useless, and complicated.
    
    Fri Jun 22 18:49:48 2001  Owen Taylor  <otaylor@redhat.com>
    
            * gtk/gtkrc.c: Add a GtkRcContext structure to hold
    	most of the previous global variables in gtkrc.c. This is
    	in preparation for multi-head, since each screen can
    	have different GtkSettings and RC information.
    
    	* gtk/gtkrc.[ch]:
    
    	* gtk/gtkrc.h (struct _GtkRcStyleClass): Add a
    	GtkSettings parameter to GtkRcStyle::parse.
    
    	* gdk/x11/gd...
    fbfc3051