summaryrefslogtreecommitdiff
path: root/gtk/gtktreeview.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2013-05-17 13:33:19 +0200
committerBenjamin Otte <otte@redhat.com>2013-05-17 20:49:52 +0200
commit5c7528c5915f573c4a3ba777b88725ca289fb1e6 (patch)
treeab56202ac9d511d494d45ce91d7f15a71ddf9a7c /gtk/gtktreeview.c
parent8616dbbad39eb8484e981018c2fb6338f6064766 (diff)
downloadgtk+-5c7528c5915f573c4a3ba777b88725ca289fb1e6.tar.gz
treeview: Remove unused function
Diffstat (limited to 'gtk/gtktreeview.c')
-rw-r--r--gtk/gtktreeview.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 385cabb43c..3c33f88318 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -8728,43 +8728,6 @@ gtk_tree_view_put (GtkTreeView *tree_view,
gtk_widget_set_parent (child_widget, GTK_WIDGET (tree_view));
}
-void
-_gtk_tree_view_child_move_resize (GtkTreeView *tree_view,
- GtkWidget *widget,
- /* in tree coordinates */
- gint x,
- gint y,
- gint width,
- gint height)
-{
- GtkTreeViewChild *child = NULL;
- GList *list;
- GdkRectangle allocation;
-
- g_return_if_fail (GTK_IS_TREE_VIEW (tree_view));
- g_return_if_fail (GTK_IS_WIDGET (widget));
-
- for (list = tree_view->priv->children; list; list = list->next)
- {
- if (((GtkTreeViewChild *)list->data)->widget == widget)
- {
- child = list->data;
- break;
- }
- }
- if (child == NULL)
- return;
-
- allocation.x = child->x = x;
- allocation.y = child->y = y;
- allocation.width = child->width = width;
- allocation.height = child->height = height;
-
- if (gtk_widget_get_realized (widget))
- gtk_widget_size_allocate (widget, &allocation);
-}
-
-
/* TreeModel Callbacks
*/