mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
cleanup: Remove unused clapperVersion variable
This commit is contained in:
@@ -289,7 +289,7 @@ class ClapperAboutDialog extends Gtk.AboutDialog
|
|||||||
modal: true,
|
modal: true,
|
||||||
program_name: Misc.appName,
|
program_name: Misc.appName,
|
||||||
comments: _('A GNOME media player powered by GStreamer'),
|
comments: _('A GNOME media player powered by GStreamer'),
|
||||||
version: Misc.getClapperVersion(),
|
version: pkg.version,
|
||||||
authors: ['Rafał Dzięgiel'],
|
authors: ['Rafał Dzięgiel'],
|
||||||
artists: ['Rafał Dzięgiel'],
|
artists: ['Rafał Dzięgiel'],
|
||||||
license_type: Gtk.License.GPL_3_0,
|
license_type: Gtk.License.GPL_3_0,
|
||||||
|
10
src/misc.js
10
src/misc.js
@@ -11,7 +11,6 @@ var subsMimes = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
var clapperPath = null;
|
var clapperPath = null;
|
||||||
var clapperVersion = null;
|
|
||||||
|
|
||||||
var settings = new Gio.Settings({
|
var settings = new Gio.Settings({
|
||||||
schema_id: appId,
|
schema_id: appId,
|
||||||
@@ -40,15 +39,6 @@ function getClapperPath()
|
|||||||
: '.';
|
: '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
function getClapperVersion()
|
|
||||||
{
|
|
||||||
return (clapperVersion)
|
|
||||||
? clapperVersion
|
|
||||||
: (pkg)
|
|
||||||
? pkg.version
|
|
||||||
: '';
|
|
||||||
}
|
|
||||||
|
|
||||||
function getClapperThemeIconUri()
|
function getClapperThemeIconUri()
|
||||||
{
|
{
|
||||||
const display = Gdk.Display.get_default();
|
const display = Gdk.Display.get_default();
|
||||||
|
Reference in New Issue
Block a user