mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
Add some init debug messages
To get an overall idea how long initialization takes
This commit is contained in:
@@ -17,7 +17,7 @@ const ShellProxyWrapper = Gio.DBusProxy.makeProxyWrapper(`
|
||||
|
||||
let shellProxy = null;
|
||||
|
||||
debug('initializing GNOME Shell DBus proxy');
|
||||
debug('creating GNOME Shell DBus proxy');
|
||||
new ShellProxyWrapper(
|
||||
Gio.DBus.session,
|
||||
'org.gnome.Shell',
|
||||
|
@@ -5,14 +5,21 @@ imports.gi.versions.Soup = '2.4';
|
||||
pkg.initGettext();
|
||||
pkg.initFormat();
|
||||
|
||||
const Debug = imports.src.debug;
|
||||
Debug.debug('imports');
|
||||
|
||||
const { GstClapper, Gtk, Adw } = imports.gi;
|
||||
const { App } = imports.src.app;
|
||||
|
||||
function main(argv)
|
||||
{
|
||||
Debug.debug('main');
|
||||
|
||||
GstClapper.Clapper.gst_init(null);
|
||||
Gtk.init();
|
||||
Adw.init();
|
||||
|
||||
Debug.debug('initialized');
|
||||
|
||||
new App().run(argv);
|
||||
}
|
||||
|
Reference in New Issue
Block a user