Cosimo Cecchi
7c108e267c
dbus: fix Screenshot async methods fallout from GDBus migration
With GJS' GDBus implementation, we get the invocation paramters as an array if we declare a method as async. This is bad and not consistent with what GJS does for synchronous methods, but it's the way it is, and other classes in gnome-shell implement this correctly by exploding the array into its components in the method implementation, but not the screenshot methods. Also, we're supposed to return a value using the provided invocation object, not with a callback now, so do that. https://bugzilla.gnome.org/show_bug.cgi?id=667662
GNOME Shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a visually attractive and easy to use experience. For more information about GNOME Shell, including instructions on how to build GNOME Shell from source and how to get involved with the project, see: http://live.gnome.org/GnomeShell Bugs should be reported at http://bugzilla.gnome.org against the 'gnome-shell' product. License ======= GNOME Shell is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.
Description
Languages
C
49.2%
JavaScript
47.4%
SCSS
1.4%
Meson
0.8%
Python
0.6%
Other
0.4%