deprecate GtkDestroyNotify.
2008-06-18 Michael Natterer <mitch@imendio.com> * gtk/gtktypeutils.h: deprecate GtkDestroyNotify. * gtk/gtkactiongroup.[ch] * gtk/gtkcombobox.[ch] * gtk/gtkcontainer.[ch] * gtk/gtkliststore.[ch] * gtk/gtkmain.[ch] * gtk/gtkmenu.c * gtk/gtkstock.[ch] * gtk/gtktreedatalist.[ch] * gtk/gtktreemodelfilter.[ch] * gtk/gtktreemodelsort.[ch] * gtk/gtktreeprivate.h * gtk/gtktreeselection.[ch] * gtk/gtktreesortable.[ch] * gtk/gtktreestore.[ch] * gtk/gtktreeview.[ch] * gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g. svn path=/trunk/; revision=20448
This commit is contained in:
		 Michael Natterer
					Michael Natterer
				
			
				
					committed by
					
						 Michael Natterer
						Michael Natterer
					
				
			
			
				
	
			
			
			 Michael Natterer
						Michael Natterer
					
				
			
						parent
						
							060948a43b
						
					
				
				
					commit
					fe8a946e87
				
			| @ -77,7 +77,7 @@ gtk_tree_selection_finalize (GObject *object) | ||||
|  | ||||
|   if (selection->destroy) | ||||
|     { | ||||
|       GtkDestroyNotify d = selection->destroy; | ||||
|       GDestroyNotify d = selection->destroy; | ||||
|  | ||||
|       selection->destroy = NULL; | ||||
|       d (selection->user_data); | ||||
| @ -256,14 +256,14 @@ void | ||||
| gtk_tree_selection_set_select_function (GtkTreeSelection     *selection, | ||||
| 					GtkTreeSelectionFunc  func, | ||||
| 					gpointer              data, | ||||
| 					GtkDestroyNotify      destroy) | ||||
| 					GDestroyNotify        destroy) | ||||
| { | ||||
|   g_return_if_fail (GTK_IS_TREE_SELECTION (selection)); | ||||
|   g_return_if_fail (func != NULL); | ||||
|  | ||||
|   if (selection->destroy) | ||||
|     { | ||||
|       GtkDestroyNotify d = selection->destroy; | ||||
|       GDestroyNotify d = selection->destroy; | ||||
|  | ||||
|       selection->destroy = NULL; | ||||
|       d (selection->user_data); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user