an loaded thumbnail #GdkPixbuf
a uri
the mtime
Returns the filename that a thumbnail of size size
for uri
would have.
This function is threadsafe and does no blocking I/O.
an uri
a thumbnail size
Gets all locales.
Gets the country name for code
. If translation
is provided the
returned string is translated accordingly.
an ISO 3166 code string
a locale string
Gets the country description for locale
. If translation
is
provided the returned string is translated accordingly.
a locale string
a locale string
Gets the default input source's type and identifier for a given locale.
a locale string
Gets the language name for code
. If translation
is provided the
returned string is translated accordingly.
an ISO 639 code string
a locale string
Gets the language description for locale
. If translation
is
provided the returned string is translated accordingly.
a locale string
a locale string
Returns an integer with the major version of GNOME. Useful for dynamic languages like Javascript or Python (static languages like C should use %GNOME_DESKTOP_PLATFORM_VERSION). If this function doesn't exist, it can be presumed that the GNOME platform version is 42 or previous.
Gets a translation of the raw modifier
string. If translation
is provided the returned string is translated accordingly.
the modifier part of a locale name
a locale string
Returns %TRUE if there are translations for language code
.
an ISO 639 code string
Gets the normalized locale string in the form
[language[_country][.codeset][modifier]
] for name
.
a locale string
Extracts the various components of a locale string of the form
[language[_country][.codeset][modifier]
]. See
http://en.wikipedia.org/wiki/Locale.
a locale string
Returns the #GQuark that will be used for #GError values returned by the GnomeRR API.
If the current process is running inside a user systemd instance, then move
the launched PID into a transient scope. The given name
will be used to
create a unit name. It should be the application ID or the executable in all
other cases. If a desktop-id is passed then the .desktop suffix will be
stripped.
It is advisable to use this function every time where the started application can be considered reasonably independent of the launching application. Placing it in a scope creates proper separation between the programs rather than being considered a single entity by systemd.
It is always safe to call this function. Note that a successful return code does not imply that a unit has been created. It solely means that no error condition was hit sending the request.
If connection
is %NULL then g_dbus_get() will be called internally.
Note that most callers will not need to handle errors. As such, it is normal
to pass a %NULL callback
.
Name for the application
The PID of the application
A description to use for the unit, or %NULL
An #GDBusConnection to the session bus, or %NULL
#GCancellable to use
Callback to call when the operation is done
Finish an asynchronous operation to create a transient scope that was started with gnome_start_systemd_scope().
Note that a successful return code does not imply that a unit has been created. It solely means that no error condition was hit sending the request.
A #GAsyncResult
Returns whether the thumbnail has the correct uri and mtime embedded in the png options. This function is threadsafe and does no blocking I/O.