ba1636be87 
					 
					
						
						
							
							statusicon: Avoid criticals  
						
						... 
						
						
						
						The code handles the possibility of pixbuf being NULL, but
after b411c31832https://bugzilla.gnome.org/show_bug.cgi?id=759917  
						
						
					 
					
						2015-12-28 10:27:08 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						35ed13ac54 
					 
					
						
						
							
							menuitem: really ignore horizontal-padding  
						
						... 
						
						
						
						This style property has been documented as been ignored for a long time,
but we were still reading it in some cases. 
						
						
					 
					
						2015-12-19 21:21:16 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ad22612ab2 
					 
					
						
						
							
							iconhelper: Require passing a cssnode to the constructor  
						
						... 
						
						
						
						Note that we don't use it yet. 
						
						
					 
					
						2015-12-15 08:41:16 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5f45878133 
					 
					
						
						
							
							statusicon: plug memory leak  
						
						
						
						
					 
					
						2015-12-09 10:45:26 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ccfc4d3f12 
					 
					
						
						
							
							iconhelper: Remove the context argument  
						
						... 
						
						
						
						Instead, use the widget's context. 
						
						
					 
					
						2015-12-09 13:30:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c9d1a45d30 
					 
					
						
						
							
							iconhelper: Require a widget as construction argument  
						
						... 
						
						
						
						Note that the caller needs to ensure the widget lives as long as the
iconhelper as the iconhelper will not ref the widget. 
						
						
					 
					
						2015-12-09 13:30:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ee5758a4e1 
					 
					
						
						
							
							statusicon: Port from iconhelper to imagedefinition  
						
						
						
						
					 
					
						2015-12-09 13:30:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cf77c1695d 
					 
					
						
						
							
							iconhelper: Pass only the CssStyle when loading iconsets  
						
						
						
						
					 
					
						2015-12-09 13:30:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						88a490fe58 
					 
					
						
						
							
							iconfactory: Move private functions into private header  
						
						
						
						
					 
					
						2015-12-09 13:30:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1b835fc7ce 
					 
					
						
						
							
							css: Leftover renaming gtk-image-effect => icon-effect  
						
						... 
						
						
						
						The previous renaming commit was incomplete, so here we go again. 
						
						
					 
					
						2015-12-04 17:44:51 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b8dd24b4fb 
					 
					
						
						
							
							iconfactory: Drop caching infrastructure  
						
						... 
						
						
						
						- icon sets are essentially unused
- the icon theme does caching
- this code complicates the restructuring I'm about to do
=> Delete it! 
						
						
					 
					
						2015-12-04 17:44:51 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bc1b53a34c 
					 
					
						
						
							
							css: Query icon theme from style, not from settings  
						
						... 
						
						
						
						No need to look at the settings when the CSS has a property for the icon
theme. 
						
						
					 
					
						2015-12-02 03:18:26 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2396265523 
					 
					
						
						
							
							css: Rename -gtk-image-effect to -gtk-icon-effect  
						
						... 
						
						
						
						This is a property for icons, so we should name it as such. 
						
						
					 
					
						2015-12-02 00:29:31 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7f93858ccc 
					 
					
						
						
							
							Stop using gtk_icon_size_lookup_for_settings()  
						
						... 
						
						
						
						Use the equivalent gtk_icon_size_lookup() instead. 
						
						
					 
					
						2015-12-02 00:29:31 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6d65b7d772 
					 
					
						
						
							
							iconfactory: Make state depend on image-effect  
						
						... 
						
						
						
						This removes the dependency on state, which should be used for selection
CSS styles, not for actually applying them.
And image-effect does exactly what we want already, so we can start
using it. 
						
						
					 
					
						2015-12-02 00:29:30 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b411c31832 
					 
					
						
						
							
							statusicon: Use gtk_icon_helper_load_surface()  
						
						... 
						
						
						
						This is in preparation for the next commit. 
						
						
					 
					
						2015-12-02 00:29:30 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						415030d25f 
					 
					
						
						
							
							dnd: Split GtkDragSourceSite into its own file  
						
						
						
						
					 
					
						2015-11-25 20:31:27 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a863b06576 
					 
					
						
						
							
							Don't use g_slist_next in gtkstock.c  
						
						... 
						
						
						
						We generally use ->next directly. 
						
						
					 
					
						2015-10-20 06:14:57 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9727a4c4bf 
					 
					
						
						
							
							Don't use g_slist_next in gtkiconfactory.c  
						
						... 
						
						
						
						We generally use ->next directly. 
						
						
					 
					
						2015-10-20 06:14:57 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d5f1754981 
					 
					
						
						
							
							gtk: Stop setting GDK_EXPOSURE_MASK on random widgets  
						
						... 
						
						
						
						These days exposure happens only on the native windows (generally the
toplevel window) and is propagated down recursively. The expose event
is only useful for backwards compat, and in fact, for double buffered
widgets we totally ignore the event (and non-double buffering breaks
on wayland).
So, by not setting the mask we avoid emitting these events and then
later ignoring them.
We still keep it on eventbox, fixed and layout as these are used
in weird ways that want backwards compat. 
						
						
					 
					
						2015-09-14 11:01:13 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						29c799a1e7 
					 
					
						
						
							
							Use g_object_get_qdata instead of g_object_get_data  
						
						... 
						
						
						
						This is less expensive. 
						
						
					 
					
						2015-09-12 12:50:39 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fd682a58de 
					 
					
						
						
							
							toggle action: Remove an unused variable  
						
						
						
						
					 
					
						2015-09-06 17:11:33 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9f24b54786 
					 
					
						
						
							
							Code cleanup  
						
						... 
						
						
						
						Use g_slist_free_full more consistently. This commit just converts
the obvious cases where g_slist_forall is directly followed by
g_slist_free. 
						
						
					 
					
						2015-07-31 22:23:35 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6f4518ab4b 
					 
					
						
						
							
							gtkimagemenuitem: improve the replacement docs even more  
						
						... 
						
						
						
						Since the stock strings usually have menmosics suggest
gtk_menu_item_new_with_mnemonic(). 
						
						
					 
					
						2015-07-20 21:04:28 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8a6bad7faf 
					 
					
						
						
							
							gtkimagemenuitem: fix suggestion for replacement  
						
						... 
						
						
						
						gtk_menu_item_new(9 would create an empty menu item. While the stock deprecation
aims to unclutter the menus, I feel this goes too far. 
						
						
					 
					
						2015-07-20 20:54:52 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6038474060 
					 
					
						
						
							
							Added an additional explanation and code snippet for GtkImageMenuItem.c  
						
						... 
						
						
						
						https://bugzilla.gnome.org/show_bug.cgi?id=752093  
					
						2015-07-08 13:53:07 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a74a3da745 
					 
					
						
						
							
							Added a more meaningful description for /deprecated/gtkimagemenuitem.c  
						
						... 
						
						
						
						https://bugzilla.gnome.org/show_bug.cgi?id=752088  
					
						2015-07-08 06:10:00 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d2569a3860 
					 
					
						
						
							
							docs: Drop deprecated symbolic icon names  
						
						... 
						
						
						
						Do not suggest using icons that do not exist. 
						
						
					 
					
						2015-07-04 19:34:23 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3c711cc98a 
					 
					
						
						
							
							Fix a typo  
						
						... 
						
						
						
						gtk-doc complained about a multi-line Since: tag, but the
real culprit was a typo in the Deprecated: tag. 
						
						
					 
					
						2015-06-20 10:52:01 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						047ad11353 
					 
					
						
						
							
							Drop an unused variable  
						
						
						
						
					 
					
						2015-06-13 21:10:26 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b493bf091a 
					 
					
						
						
							
							docs: Improve deprecation notices for GtkMisc  
						
						... 
						
						
						
						Point to the replacement properties and functions.
https://bugzilla.gnome.org/show_bug.cgi?id=750718  
						
						
					 
					
						2015-06-11 11:45:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5a61246946 
					 
					
						
						
							
							docs: Improve deprecation notices for GtkImageMenuItem properties  
						
						... 
						
						
						
						Should help porting code away from the deprecated GtkImageMenuItem
class.
https://bugzilla.gnome.org/show_bug.cgi?id=750718  
						
						
					 
					
						2015-06-11 11:45:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						715777154b 
					 
					
						
						
							
							docs: Add deprecation notices for GtkAlignment properties  
						
						... 
						
						
						
						We want people to port their code away from deprecated classes, and this
helps finding a replacement.
https://bugzilla.gnome.org/show_bug.cgi?id=750718  
						
						
					 
					
						2015-06-11 11:45:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						00236c0d21 
					 
					
						
						
							
							Fix compiler warnings  
						
						... 
						
						
						
						Fix warnings due to -Wdeclaration-after-statement and -Wshadow. 
						
						
					 
					
						2015-06-02 09:08:14 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dc41c59006 
					 
					
						
						
							
							Amend deprecation warnings for GtkStyle API  
						
						... 
						
						
						
						Not everything has a replacement in the API, as the drawing model
changed considerably; nevertheless, this should help out developers
porting from the deprecated GtkStyle API. 
						
						
					 
					
						2015-05-14 17:00:14 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						543eae0d76 
					 
					
						
						
							
							Avoid some clang compiler warnings  
						
						... 
						
						
						
						Avoid some compiler warnings from clang in deprecated code.
Most of these are around our habit of using -1 as an 'unset'
value for enumerations. 
						
						
					 
					
						2015-03-22 15:13:32 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						da25771e58 
					 
					
						
						
							
							cssvalue: Remove GtkCssDependencies  
						
						... 
						
						
						
						They are not used anymore. 
						
						
					 
					
						2015-03-18 15:23:31 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7fbbf850c3 
					 
					
						
						
							
							Improve some GtkStock deprecation notes  
						
						... 
						
						
						
						Point at edit-delete and edit-paste as available icons. 
						
						
					 
					
						2015-03-05 16:07:30 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bc77408e3c 
					 
					
						
						
							
							gtk_misc_set_alignment(): Improve the deprecation documenation.  
						
						... 
						
						
						
						To link to GtkWidget.halign/valign and to mention
GtkLabel.xalign/yalign. 
						
						
					 
					
						2015-03-02 09:46:49 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						486b56e179 
					 
					
						
						
							
							statusicon: missed setting one uID  
						
						
						
						
					 
					
						2015-02-21 16:00:31 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f07677c105 
					 
					
						
						
							
							statusicon: fix crash storing pointer in UINT  
						
						... 
						
						
						
						https://bugzilla.gnome.org/show_bug.cgi?id=696505  
					
						2015-02-21 15:49:15 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b15193943a 
					 
					
						
						
							
							GtkStatusIcon: Expand deprecation docs  
						
						... 
						
						
						
						https://bugzilla.gnome.org/show_bug.cgi?id=743975  
					
						2015-02-05 10:42:57 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						717877dff2 
					 
					
						
						
							
							render: Rename gtkborderimage.[ch]  
						
						... 
						
						
						
						I want the gtkrender prefix for all filenames about rendering. 
						
						
					 
					
						2015-01-20 06:30:18 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						931a479da9 
					 
					
						
						
							
							gtkimagemenuitem: create widget for action icons lazily  
						
						... 
						
						
						
						GtkImageMenuItem always packs a GtkImage when it is synced with a
related action. This is unnecessary when the action doesn't have an icon
set and results in excess padding when a GtkImageMenuItem is put in a
menu bar (GtkUIManager does this).
Fix this by not creating the GtkImage for icon-less actions.
https://bugzilla.gnome.org/show_bug.cgi?id=742181  
						
						
					 
					
						2015-01-18 19:45:13 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						500bd60873 
					 
					
						
						
							
							Adjust gtk_status_icon_position_menu() annotation to match GtkMenuPositionFunc again  
						
						... 
						
						
						
						https://bugzilla.gnome.org/show_bug.cgi?id=674537 
https://bugzilla.gnome.org/show_bug.cgi?id=742940  
					
						2015-01-17 16:31:26 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9a38fb79e5 
					 
					
						
						
							
							docs: Add missing quote  
						
						... 
						
						
						
						The missing " breaks the syntax highlighting of the GtkImageMenuItem
example. 
						
						
					 
					
						2015-01-09 16:42:55 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						79f806fdab 
					 
					
						
						
							
							Point to copy/cut/delete named icons in the stock item deprecations  
						
						... 
						
						
						
						We still use symbolic icons for Copy, Cut, and Delete operations inside
toolbars and some menus, so it's worth pointing to the symbolic icon
names in the deprecation notices.
https://bugzilla.gnome.org/show_bug.cgi?id=741969  
						
						
					 
					
						2015-01-08 23:50:22 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						572f46067f 
					 
					
						
						
							
							cssstyle: Rename GtkCssComputedValues => GtkCssStyle  
						
						... 
						
						
						
						This is literally just renaming of the object (and the associated source
files). No other changes are in there. 
						
						
					 
					
						2015-01-07 14:26:46 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b44df22895 
					 
					
						
						
							
							Menu items: force loading 16x16 icons  
						
						... 
						
						
						
						GtkIconTheme doesn't scale icons beyond the size specified in the theme
anymore. This can result in arbitrarily large menu items when a theme
only provides large icons.
Force icons to always be 16x16 to ensure that menu items always have the
same height.
https://bugzilla.gnome.org/show_bug.cgi?id=741259  
						
						
					 
					
						2014-12-17 17:52:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b49c7c3421 
					 
					
						
						
							
							styleprovider: Fold get_change() vfunc into lookup()  
						
						
						
						
					 
					
						2014-12-10 03:49:40 +01:00