[gtk+] treeview: Remove unused function
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] treeview: Remove unused function
- Date: Fri, 17 May 2013 18:51:01 +0000 (UTC)
commit 5c7528c5915f573c4a3ba777b88725ca289fb1e6
Author: Benjamin Otte <otte redhat com>
Date: Fri May 17 13:33:19 2013 +0200
treeview: Remove unused function
gtk/gtktreeprivate.h | 6 ------
gtk/gtktreeview.c | 37 -------------------------------------
2 files changed, 0 insertions(+), 43 deletions(-)
---
diff --git a/gtk/gtktreeprivate.h b/gtk/gtktreeprivate.h
index fcdcf81..9d0c301 100644
--- a/gtk/gtktreeprivate.h
+++ b/gtk/gtktreeprivate.h
@@ -52,12 +52,6 @@ gboolean _gtk_tree_view_get_cursor_node (GtkTreeView *tree_v
GtkRBNode **node);
GtkTreePath *_gtk_tree_path_new_from_rbtree (GtkRBTree *tree,
GtkRBNode *node);
-void _gtk_tree_view_child_move_resize (GtkTreeView *tree_view,
- GtkWidget *widget,
- gint x,
- gint y,
- gint width,
- gint height);
void _gtk_tree_view_queue_draw_node (GtkTreeView *tree_view,
GtkRBTree *tree,
GtkRBNode *node,
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 385cabb..3c33f88 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
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]