widget: Remove unused function

This commit is contained in:
Timm Bäder 2019-02-19 08:33:24 +01:00 committed by Benjamin Otte
parent 2ecb4003be
commit 63a23ed0da
2 changed files with 0 additions and 13 deletions

View File

@ -4446,15 +4446,6 @@ gtk_widget_common_ancestor (GtkWidget *widget_a,
return 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: * gtk_widget_translate_coordinates:
* @src_widget: a #GtkWidget * @src_widget: a #GtkWidget

View File

@ -333,10 +333,6 @@ void gtk_widget_set_pass_through (GtkWidget *widget,
gboolean pass_through); gboolean pass_through);
gboolean gtk_widget_get_pass_through (GtkWidget *widget); 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, void gtk_widget_cancel_event_sequence (GtkWidget *widget,
GtkGesture *gesture, GtkGesture *gesture,
GdkEventSequence *sequence, GdkEventSequence *sequence,