summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkmain.c2
-rw-r--r--gtk/gtkwidgetprivate.h6
2 files changed, 7 insertions, 1 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 70a7c43313..043d02e221 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -1466,7 +1466,7 @@ synth_crossing (GtkWidget *widget,
g_object_unref (event);
}
-static void
+void
gtk_synthesize_crossing_events (GtkWindow *toplevel,
GtkWidget *old_target,
GtkWidget *new_target,
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index 231748d655..d995faa87a 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -242,6 +242,12 @@ GdkSurface * _gtk_widget_get_device_surface (GtkWidget *widget,
GdkDevice *device);
GList * _gtk_widget_list_devices (GtkWidget *widget);
+void gtk_synthesize_crossing_events (GtkWindow *toplevel,
+ GtkWidget *from,
+ GtkWidget *to,
+ GdkEvent *event,
+ GdkCrossingMode mode);
+
void _gtk_widget_synthesize_crossing (GtkWidget *from,
GtkWidget *to,
GdkDevice *device,