• Chris Wilson's avatar
    Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach · c4129633
    Chris Wilson authored
    2007-01-22  Chris Wilson <chris@chris-wilson.co.uk>
    
    	Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
    
    	* gtk/gtkstyle.h:
    		Cause gcc to issue a warning if the style returned from
    		gtk_style_attach is not used. Failure to update
    		widget->style causes some very difficult to identify bugs,
    		eg Bug 353498 – crash in Terminal: changing icon theme.
    
    
    svn path=/trunk/; revision=17199
    c4129633
gtkstyle.h 28.6 KB