You have been subscribed to a public bug:
When compiling the scope, valac prints many warnings:
ubuntuone-credentials.vala:38.32-38.55: warning: Ag.AuthData.get_parameters has
been deprecated since 1.4. Use get_login_parameters
ubuntuone-credentials.vala:40.27-40.107: warning: unhandled error `GLib.Error'
var session = new Signon.AuthSession (auth_data.get_credentials_id
(), auth_data.get_method ());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
non-click-scope.vala:554.3-554.38: warning: NonClickScope.activate hides
inherited method `Unity.SimpleScope.activate'. Use the `new' keyword if hiding
was intentional
private ActivationResponse? activate (ScopeResult result,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
download-manager.vala:44.5-44.21: warning: field `DownloadStruct.url' never used
public string url;
^^^^^^^^^^^^^^^^^
download-manager.vala:45.5-45.22: warning: field `DownloadStruct.hash' never
used
public string hash;
^^^^^^^^^^^^^^^^^^
download-manager.vala:46.5-46.32: warning: field
`DownloadStruct.hash_algorithm' never used
public string hash_algorithm;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
download-manager.vala:47.5-47.44: warning: field `DownloadStruct.metadata'
never used
GLib.HashTable<string, Variant> metadata;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
download-manager.vala:48.5-48.42: warning: field `DownloadStruct.headers' never
used
GLib.HashTable<string, string> headers;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 8 warning(s)
touch click_scope.vala.stamp
GEN click_scope_tests.vala.stamp
test-click-webservice.vala:115.13-115.53: warning: unhandled error `GLib.Error'
parser.load_from_data (FAKE_APP_MANIFEST);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ubuntuone-credentials.vala:38.32-38.55: warning: Ag.AuthData.get_parameters has
been deprecated since 1.4. Use get_login_parameters
ubuntuone-credentials.vala:40.27-40.107: warning: unhandled error `GLib.Error'
var session = new Signon.AuthSession (auth_data.get_credentials_id
(), auth_data.get_method ());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test-click-webservice.vala:103.21-103.64: warning: local variable `installed'
declared but never used
var installed = click_if.get_installed.end (res);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test-click-webservice.vala:126.17-128.9: warning: unreachable catch clause
detected
test-click-webservice.vala:159.21-159.66: warning: local variable `dotdesktop'
declared but never used
var dotdesktop = click_if.get_dotdesktop.end (res);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
download-manager.vala:44.5-44.21: warning: field `DownloadStruct.url' never used
public string url;
^^^^^^^^^^^^^^^^^
download-manager.vala:45.5-45.22: warning: field `DownloadStruct.hash' never
used
public string hash;
^^^^^^^^^^^^^^^^^^
download-manager.vala:46.5-46.32: warning: field
`DownloadStruct.hash_algorithm' never used
public string hash_algorithm;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
download-manager.vala:47.5-47.44: warning: field `DownloadStruct.metadata'
never used
GLib.HashTable<string, Variant> metadata;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
download-manager.vala:48.5-48.42: warning: field `DownloadStruct.headers' never
used
GLib.HashTable<string, string> headers;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
download-manager.vala:166.5-166.47: warning: method
`SignedDownload.start_download' never used
public async GLib.ObjectPath start_download (string uri, string app_id)
throws DownloadError {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 12 warning(s)
** Affects: unity-scope-click (Ubuntu)
Importance: High
Status: Triaged
--
Many warnings from valac during compilation
https://bugs.launchpad.net/bugs/1257728
You received this bug notification because you are a member of Ubuntu Bugs,
which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs