[tracker-miners/wip/nielsdg/g-param-static-strings: 2/2] Use canonical names when installing GObject props
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/nielsdg/g-param-static-strings: 2/2] Use canonical names when installing GObject props
- Date: Sat, 4 Jan 2020 13:33:31 +0000 (UTC)
commit bc4f25482a2996e8998db72e92f08588eb809489
Author: Niels De Graef <nielsdegraef gmail com>
Date: Sat Jan 4 14:30:21 2020 +0100
Use canonical names when installing GObject props
Otherwise GLib will complain.
src/miners/fs/tracker-miner-files-index.c | 4 ++--
src/miners/fs/tracker-writeback-dispatcher.c | 4 ++--
src/miners/fs/tracker-writeback-listener.c | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files-index.c b/src/miners/fs/tracker-miner-files-index.c
index 4fb80f2e5..942e50162 100644
--- a/src/miners/fs/tracker-miner-files-index.c
+++ b/src/miners/fs/tracker-miner-files-index.c
@@ -98,8 +98,8 @@ tracker_miner_files_index_class_init (TrackerMinerFilesIndexClass *klass)
g_object_class_install_property (object_class,
PROP_FILES_MINER,
- g_param_spec_object ("files_miner",
- "files_miner",
+ g_param_spec_object ("files-miner",
+ "files-miner",
"The FS Miner",
TRACKER_TYPE_MINER_FILES,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS));
diff --git a/src/miners/fs/tracker-writeback-dispatcher.c b/src/miners/fs/tracker-writeback-dispatcher.c
index 685b0c9b1..2d846b6ba 100644
--- a/src/miners/fs/tracker-writeback-dispatcher.c
+++ b/src/miners/fs/tracker-writeback-dispatcher.c
@@ -99,8 +99,8 @@ tracker_writeback_dispatcher_class_init (TrackerWritebackDispatcherClass *klass)
g_object_class_install_property (object_class,
PROP_FILES_MINER,
- g_param_spec_object ("files_miner",
- "files_miner",
+ g_param_spec_object ("files-miner",
+ "files-miner",
"The FS Miner",
TRACKER_TYPE_MINER_FILES,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS));
diff --git a/src/miners/fs/tracker-writeback-listener.c b/src/miners/fs/tracker-writeback-listener.c
index 9948aa1d4..b70c6b1e1 100644
--- a/src/miners/fs/tracker-writeback-listener.c
+++ b/src/miners/fs/tracker-writeback-listener.c
@@ -101,8 +101,8 @@ tracker_writeback_listener_class_init (TrackerWritebackListenerClass *klass)
g_object_class_install_property (object_class,
PROP_FILES_MINER,
- g_param_spec_object ("files_miner",
- "files_miner",
+ g_param_spec_object ("files-miner",
+ "files-miner",
"The FS Miner",
TRACKER_TYPE_MINER_FILES,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]