summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2019-02-19 08:33:24 +0100
committerTimm Bäder <mail@baedert.org>2019-02-19 08:57:06 +0100
commit465b42099480245dc07678d377135088a0f2eb69 (patch)
treeedf1d8c7888b7f79bb62989382df2643ee979ce1
parent559ffca2bd6c5f4a0e4fdfd81e577f82cbf44122 (diff)
downloadgtk+-465b42099480245dc07678d377135088a0f2eb69.tar.gz
widget: Remove unused function
-rw-r--r--gtk/gtkwidget.c9
-rw-r--r--gtk/gtkwidgetprivate.h4
2 files changed, 0 insertions, 13 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 8207871dd4..41f94004fd 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -4446,15 +4446,6 @@ gtk_widget_common_ancestor (GtkWidget *widget_a,
return widget_a;
}
-void
-gtk_widget_get_origin_relative_to_parent (GtkWidget *widget,
- int *origin_x,
- int *origin_y)
-{
- *origin_x = graphene_matrix_get_value (&widget->priv->transform, 3, 0);
- *origin_y = graphene_matrix_get_value (&widget->priv->transform, 3, 1);
-}
-
/**
* gtk_widget_translate_coordinates:
* @src_widget: a #GtkWidget
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index ad04290708..a25b70bcc4 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -333,10 +333,6 @@ void gtk_widget_set_pass_through (GtkWidget *widget,
gboolean pass_through);
gboolean gtk_widget_get_pass_through (GtkWidget *widget);
-void gtk_widget_get_origin_relative_to_parent (GtkWidget *widget,
- int *origin_x,
- int *origin_y);
-
void gtk_widget_cancel_event_sequence (GtkWidget *widget,
GtkGesture *gesture,
GdkEventSequence *sequence,