[gtk+/native-layout] Making function private in gtktreeviewcolumn to pass the abi test.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] Making function private in gtktreeviewcolumn to pass the abi test.
- Date: Sun, 4 Apr 2010 02:48:13 +0000 (UTC)
commit 1212f263c3bf51a5358143b7a61d3d205901fc6f
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Sat Apr 3 21:37:42 2010 -0400
Making function private in gtktreeviewcolumn to pass the abi test.
gtk/gtktreeviewcolumn.c | 37 +++++++++++++++++++------------------
1 files changed, 19 insertions(+), 18 deletions(-)
---
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c
index 14c76fe..7dcc29a 100644
--- a/gtk/gtktreeviewcolumn.c
+++ b/gtk/gtktreeviewcolumn.c
@@ -2603,25 +2603,13 @@ gtk_tree_view_column_cell_set_cell_data (GtkTreeViewColumn *tree_column,
}
-/**
- * gtk_tree_view_column_cell_get_size:
- * @tree_column: A #GtkTreeViewColumn.
- * @cell_area: (allow-none): The area a cell in the column will be allocated, or %NULL
- * @x_offset: (allow-none): location to return x offset of a cell relative to @cell_area, or %NULL
- * @y_offset: (allow-none): location to return y offset of a cell relative to @cell_area, or %NULL
- * @width: (allow-none): location to return width needed to render a cell, or %NULL
- * @height: (allow-none): location to return height needed to render a cell, or %NULL
- *
- * Obtains the width and height needed to render the column. This is used
- * primarily by the #GtkTreeView.
- **/
-void
+static void
gtk_tree_view_column_cell_get_real_size (GtkTreeViewColumn *tree_column,
- const GdkRectangle *cell_area,
- gint *x_offset,
- gint *y_offset,
- GtkRequisition *minimal_size,
- GtkRequisition *desired_size)
+ const GdkRectangle *cell_area,
+ gint *x_offset,
+ gint *y_offset,
+ GtkRequisition *minimal_size,
+ GtkRequisition *desired_size)
{
GList *list;
gboolean first_cell = TRUE;
@@ -2680,6 +2668,19 @@ gtk_tree_view_column_cell_get_real_size (GtkTreeViewColumn *tree_column,
}
}
+
+/**
+ * gtk_tree_view_column_cell_get_size:
+ * @tree_column: A #GtkTreeViewColumn.
+ * @cell_area: (allow-none): The area a cell in the column will be allocated, or %NULL
+ * @x_offset: (allow-none): location to return x offset of a cell relative to @cell_area, or %NULL
+ * @y_offset: (allow-none): location to return y offset of a cell relative to @cell_area, or %NULL
+ * @width: (allow-none): location to return width needed to render a cell, or %NULL
+ * @height: (allow-none): location to return height needed to render a cell, or %NULL
+ *
+ * Obtains the width and height needed to render the column. This is used
+ * primarily by the #GtkTreeView.
+ **/
void
gtk_tree_view_column_cell_get_size (GtkTreeViewColumn *tree_column,
const GdkRectangle *cell_area,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]