[gtk/wip/baedert/transforms6: 133/155] widget: Make translate_coordinatesf public
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/transforms6: 133/155] widget: Make translate_coordinatesf public
- Date: Sat, 19 Jan 2019 07:16:03 +0000 (UTC)
commit 362793d546ff707db7359ad333ed72f1663d0928
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]