[gnome-contacts/wip/nielsdg/vcard-import: 262/263] WIP
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts/wip/nielsdg/vcard-import: 262/263] WIP
- Date: Thu, 31 Mar 2022 07:31:12 +0000 (UTC)
commit cb74d300fad3dc96930e221a42da7861c0085f52
Author: Niels De Graef <nielsdegraef gmail com>
Date: Wed Sep 29 10:47:54 2021 +0200
WIP
src/io/contacts-io-importer.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/io/contacts-io-importer.vala b/src/io/contacts-io-importer.vala
index f185628c..34f31cdc 100644
--- a/src/io/contacts-io-importer.vala
+++ b/src/io/contacts-io-importer.vala
@@ -36,7 +36,7 @@ public abstract class Contacts.Io.Importer {
* like {@link Folks.PersonaStore.add_persona_from_details}.
*/
public HashTable<string, Value?> import_file (GLib.File file) throws GLib.Error {
- var path = file.get_path ();
+ string? path = file.get_path ();
if (path == null)
throw new GLib.IOError.INVALID_FILENAME ("Couldn't import file: file doesn't have a path");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]