From 7885144acd87f8d470ebf5b75b99ea2aba664a36 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 12 Jul 2010 17:37:47 +0800 Subject: [PATCH] tests/status_icon.js --- tests/status_icon.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/status_icon.js b/tests/status_icon.js index a3bd1a0b7..572807444 100644 --- a/tests/status_icon.js +++ b/tests/status_icon.js @@ -28,11 +28,11 @@ function active(status_icon, button, time, data) // GtkMenu.popup, calling the Gtk.StatusIcon.position_menu function // var area = new Gdk.Rectangle(); - var orient = new Gtk.Orientation(); + var ret = {}; status_icon.get_geometry(ret, area, orient); console.log(JSON.stringify(area)); - console.log(JSON.stringify(orient)); + console.log(JSON.stringify(ret)); menu.popup(null, null, Gtk.StatusIcon.position_menu, status_icon, button, time); } -- 2.39.2