• Soeren Sandmann's avatar
    Only try to pack icon if there actually is one. · 63f37a9e
    Soeren Sandmann authored
    Sat Jan 24 23:17:27 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
    
    	* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Only
    	try to pack icon if there actually is one.
    
    	* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure
    	OVERFLOWN items get an allocation even when they are
    	unmapped. This ensures they will slide in properly.
    
    	* gtk/gtktoolbar.c (slide_idle_handler): Make sure we return TRUE
    	when there are overflown items that need to slide in. Also add
    	comments and make formatting more readable.
    63f37a9e
gtktoolbutton.c 26.2 KB