summaryrefslogtreecommitdiff
path: root/gdk/linux-fb
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/linux-fb')
-rw-r--r--gdk/linux-fb/gdkmain-fb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdk/linux-fb/gdkmain-fb.c b/gdk/linux-fb/gdkmain-fb.c
index dd252470b..4e3868ee5 100644
--- a/gdk/linux-fb/gdkmain-fb.c
+++ b/gdk/linux-fb/gdkmain-fb.c
@@ -1456,12 +1456,11 @@ gdk_event_make (GdkWindow *window,
GdkEventType type,
gboolean append_to_queue)
{
- GdkEvent *event = _gdk_event_new ();
+ GdkEvent *event = gdk_event_new (type);
guint32 the_time;
the_time = gdk_fb_get_time ();
- event->any.type = type;
event->any.window = gdk_window_ref (window);
event->any.send_event = FALSE;
switch (type)