[gtk/wip/baedert/transforms6: 34/61] widget: Make translate_coordinatesf public



commit 9526f20497fddc82f9f3dcb3839e542be5423227
Author: Timm Bäder <mail baedert org>
Date:   Thu Nov 29 07:21:11 2018 +0100

    widget: Make translate_coordinatesf public

 gtk/gtkprivate.h | 7 -------
 gtk/gtkwidget.h  | 8 ++++++++
 2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkprivate.h b/gtk/gtkprivate.h
index 3662d68838..32aec1aa84 100644
--- a/gtk/gtkprivate.h
+++ b/gtk/gtkprivate.h
@@ -94,13 +94,6 @@ void             gtk_propagate_event_internal  (GtkWidget       *widget,
                                                 GdkEvent        *event,
                                                 GtkWidget       *topmost);
 
-gboolean         gtk_widget_translate_coordinatesf (GtkWidget  *src_widget,
-                                                    GtkWidget  *dest_widget,
-                                                    double      src_x,
-                                                    double      src_y,
-                                                    double     *dest_x,
-                                                    double     *dest_y);
-
 GtkWidget *     _gtk_toplevel_pick (GtkWindow *toplevel,
                                     gdouble    x,
                                     gdouble    y,
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 85ea4aab43..bf54273ffd 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -742,6 +742,14 @@ gboolean     gtk_widget_translate_coordinates (GtkWidget  *src_widget,
                                                gint       *dest_x,
                                                gint       *dest_y);
 
+GDK_AVAILABLE_IN_ALL
+gboolean     gtk_widget_translate_coordinatesf (GtkWidget  *src_widget,
+                                                GtkWidget  *dest_widget,
+                                                double      src_x,
+                                                double      src_y,
+                                                double     *dest_x,
+                                                double     *dest_y);
+
 GDK_AVAILABLE_IN_ALL
 gboolean     gtk_widget_contains              (GtkWidget  *widget,
                                                gdouble     x,


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