summaryrefslogtreecommitdiff
path: root/gtk/gtkeventcontrollermotion.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-02-20 17:22:03 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-02-21 00:51:03 -0500
commit77aed615e803d3039af62a1416368248c0457c39 (patch)
tree7a3f7575ef1c2ee6444346760117bae36086ea22 /gtk/gtkeventcontrollermotion.c
parent4947b94a41911bbba9d048e3fd4f9893da3b79fb (diff)
downloadgtk+-77aed615e803d3039af62a1416368248c0457c39.tar.gz
Keep more event controller api private
We don't want to expose the GtkCrossingData struct, and manually feeding events to event controllers is not something we want to encourage, going forward.
Diffstat (limited to 'gtk/gtkeventcontrollermotion.c')
-rw-r--r--gtk/gtkeventcontrollermotion.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/gtk/gtkeventcontrollermotion.c b/gtk/gtkeventcontrollermotion.c
index 3adbad42b9..d0182cbcc0 100644
--- a/gtk/gtkeventcontrollermotion.c
+++ b/gtk/gtkeventcontrollermotion.c
@@ -304,48 +304,6 @@ gtk_event_controller_motion_new (void)
}
/**
- * gtk_event_controller_motion_get_pointer_origin:
- * @controller: a #GtkEventControllerMotion
- *
- * Returns the widget that contained the pointer before.
- *
- * This function can only be used in handlers for the
- * #GtkEventControllerMotion::enter or
- * #GtkEventControllerMotion::leave signals.
- *
- * Returns: (transfer none): the previous pointer focus
- */
-GtkWidget *
-gtk_event_controller_motion_get_pointer_origin (GtkEventControllerMotion *controller)
-{
- g_return_val_if_fail (GTK_IS_EVENT_CONTROLLER_MOTION (controller), NULL);
- g_return_val_if_fail (controller->current_crossing != NULL, NULL);
-
- return controller->current_crossing->old_target;
-}
-
-/**
- * gtk_event_controller_motion_get_pointer_target:
- * @controller: a #GtkEventControllerMotion
- *
- * Returns the widget that will contain the pointer afterwards.
- *
- * This function can only be used in handlers for the
- * #GtkEventControllerMotion::enter or
- * #GtkEventControllerMotion::leave signals.
- *
- * Returns: (transfer none): the next pointer focus
- */
-GtkWidget *
-gtk_event_controller_motion_get_pointer_target (GtkEventControllerMotion *controller)
-{
- g_return_val_if_fail (GTK_IS_EVENT_CONTROLLER_MOTION (controller), NULL);
- g_return_val_if_fail (controller->current_crossing != NULL, NULL);
-
- return controller->current_crossing->new_target;
-}
-
-/**
* gtk_event_controller_motion_contains_pointer:
* @self: a #GtkEventControllerMotion
*