summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2009-10-07 17:53:35 +0200
committerJavier Jardón <jjardon@gnome.org>2010-05-03 01:39:50 +0200
commit11e97600f0faec7014f9f64d9018e14bf8cb3bab (patch)
treeb5d4dc2ce05e780fce91810fa2365cd6399898a6 /gtk
parentb7eed8cbff554657464882cc7e88cef617f00b3b (diff)
downloadgtk+-11e97600f0faec7014f9f64d9018e14bf8cb3bab.tar.gz
Remove deprecated GtkTreeView functions
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtktreeview.c65
-rw-r--r--gtk/gtktreeview.h13
2 files changed, 0 insertions, 78 deletions
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index f464ec4010..5f1fb04f55 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -13018,71 +13018,6 @@ gtk_tree_view_get_visible_rect (GtkTreeView *tree_view,
}
/**
- * gtk_tree_view_widget_to_tree_coords:
- * @tree_view: a #GtkTreeView
- * @wx: X coordinate relative to bin_window
- * @wy: Y coordinate relative to bin_window
- * @tx: return location for tree X coordinate
- * @ty: return location for tree Y coordinate
- *
- * Converts bin_window coordinates to coordinates for the
- * tree (the full scrollable area of the tree).
- *
- * Deprecated: 2.12: Due to historial reasons the name of this function is
- * incorrect. For converting coordinates relative to the widget to
- * bin_window coordinates, please see
- * gtk_tree_view_convert_widget_to_bin_window_coords().
- *
- **/
-void
-gtk_tree_view_widget_to_tree_coords (GtkTreeView *tree_view,
- gint wx,
- gint wy,
- gint *tx,
- gint *ty)
-{
- g_return_if_fail (GTK_IS_TREE_VIEW (tree_view));
-
- if (tx)
- *tx = wx + tree_view->priv->hadjustment->value;
- if (ty)
- *ty = wy + tree_view->priv->dy;
-}
-
-/**
- * gtk_tree_view_tree_to_widget_coords:
- * @tree_view: a #GtkTreeView
- * @tx: tree X coordinate
- * @ty: tree Y coordinate
- * @wx: return location for X coordinate relative to bin_window
- * @wy: return location for Y coordinate relative to bin_window
- *
- * Converts tree coordinates (coordinates in full scrollable area of the tree)
- * to bin_window coordinates.
- *
- * Deprecated: 2.12: Due to historial reasons the name of this function is
- * incorrect. For converting bin_window coordinates to coordinates relative
- * to bin_window, please see
- * gtk_tree_view_convert_bin_window_to_widget_coords().
- *
- **/
-void
-gtk_tree_view_tree_to_widget_coords (GtkTreeView *tree_view,
- gint tx,
- gint ty,
- gint *wx,
- gint *wy)
-{
- g_return_if_fail (GTK_IS_TREE_VIEW (tree_view));
-
- if (wx)
- *wx = tx - tree_view->priv->hadjustment->value;
- if (wy)
- *wy = ty - tree_view->priv->dy;
-}
-
-
-/**
* gtk_tree_view_convert_widget_to_tree_coords:
* @tree_view: a #GtkTreeView
* @wx: X coordinate relative to the widget
diff --git a/gtk/gtktreeview.h b/gtk/gtktreeview.h
index 098ab5ce17..f295958c7f 100644
--- a/gtk/gtktreeview.h
+++ b/gtk/gtktreeview.h
@@ -260,19 +260,6 @@ void gtk_tree_view_get_background_area (GtkTreeView
GdkRectangle *rect);
void gtk_tree_view_get_visible_rect (GtkTreeView *tree_view,
GdkRectangle *visible_rect);
-
-#ifndef GTK_DISABLE_DEPRECATED
-void gtk_tree_view_widget_to_tree_coords (GtkTreeView *tree_view,
- gint wx,
- gint wy,
- gint *tx,
- gint *ty);
-void gtk_tree_view_tree_to_widget_coords (GtkTreeView *tree_view,
- gint tx,
- gint ty,
- gint *wx,
- gint *wy);
-#endif /* !GTK_DISABLE_DEPRECATED */
gboolean gtk_tree_view_get_visible_range (GtkTreeView *tree_view,
GtkTreePath **start_path,
GtkTreePath **end_path);