new function. (#342471, Lorenzo Gil Sanchez).

2007-06-06  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_get_tree_view): new
	function.  (#342471, Lorenzo Gil Sanchez).

	* gtk/gtk.symbols: updated.


svn path=/trunk/; revision=18053
This commit is contained in:
Kristian Rietveld 2007-06-06 12:54:35 +00:00 committed by Kristian Rietveld
parent 38b0ef28b0
commit 8c07c5b129
4 changed files with 30 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2007-06-06 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_get_tree_view): new
function. (#342471, Lorenzo Gil Sanchez).
* gtk/gtk.symbols: updated.
2007-06-06 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (gtk_tooltip_paint_window): remove unused

View File

@ -4291,6 +4291,7 @@ gtk_tree_view_column_get_sort_indicator
gtk_tree_view_column_get_sort_order
gtk_tree_view_column_get_spacing
gtk_tree_view_column_get_title
gtk_tree_view_column_get_tree_view
gtk_tree_view_column_get_type G_GNUC_CONST
gtk_tree_view_column_get_visible
gtk_tree_view_column_get_widget

View File

@ -3711,5 +3711,26 @@ gtk_tree_view_column_queue_resize (GtkTreeViewColumn *tree_column)
_gtk_tree_view_column_cell_set_dirty (tree_column, TRUE);
}
/**
* gtk_tree_view_column_get_tree_view:
* @tree_column: A #GtkTreeViewColumn
*
* Returns the #GtkTreeView wherein @tree_column has been inserted. If
* @column is currently not inserted in any tree view, %NULL is
* returned.
*
* Return value: The tree view wherein @column has been inserted if any,
* %NULL otherwise.
*
* Since: 2.12
*/
GtkWidget *
gtk_tree_view_column_get_tree_view (GtkTreeViewColumn *tree_column)
{
g_return_val_if_fail (GTK_IS_TREE_VIEW_COLUMN (tree_column), NULL);
return tree_column->tree_view;
}
#define __GTK_TREE_VIEW_COLUMN_C__
#include "gtkaliasdef.c"

View File

@ -231,6 +231,7 @@ gboolean gtk_tree_view_column_cell_get_position (GtkTreeViewCol
gint *start_pos,
gint *width);
void gtk_tree_view_column_queue_resize (GtkTreeViewColumn *tree_column);
GtkWidget *gtk_tree_view_column_get_tree_view (GtkTreeViewColumn *tree_column);
G_END_DECLS