[gtk] widget: Remove unused function



commit 63a23ed0da3d2449310f4c9de6ff1c9033ef89d4
Author: Timm Bäder <mail baedert org>
Date:   Tue Feb 19 08:33:24 2019 +0100

    widget: Remove unused function

 gtk/gtkwidget.c        | 9 ---------
 gtk/gtkwidgetprivate.h | 4 ----
 2 files changed, 13 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index b811c233d5..f6a31d07a3 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]