[gtk/wip/baedert/transforms6: 20/52] widget: Make translate_coordinatesf public
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/transforms6: 20/52] widget: Make translate_coordinatesf public
- Date: Thu, 14 Feb 2019 07:09:27 +0000 (UTC)
commit 530d5493ec311c7f2aece90cbedf7df6b6c2f95b
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 c150b81dc0..fdba3b170d 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -746,6 +746,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]