// 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);
}