aboutsummaryrefslogtreecommitdiffstats
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-18 01:06:01 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-19 00:02:13 -0300
commitf835fb0566fecd0336159cae9f04425745613870 (patch)
treedb941fe523f92aa85ee5238ed6b4eb72d9a2edb7 /data/Makefile.am
parent0af3fee360089b2f5c160896f33850c79e493a93 (diff)
Use GSettings instead of Gconf-2
While it works fine, Gconf was deprecated in favor of Gsettings. Replace its usage inside camorama. Please notice that the changed notifications for the values are not used here. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am16
1 files changed, 5 insertions, 11 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 271c637..c7052e2 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -11,9 +11,10 @@ stuff_DATA = \
gladedir = $(datadir)/camorama
glade_DATA= $(CAMORAMA_UI)
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = camorama.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
+
+gsettings_SCHEMAS = org.gnome.camorama.gschema.xml
+
+@GSETTINGS_RULES@
# For the sake of some users
user-install: $(app_DATA) $(keys_DATA)
@@ -21,12 +22,5 @@ user-install: $(app_DATA) $(keys_DATA)
cp $(app_DATA) ~/.gnome/application-registry
cp $(keys_DATA) ~/.gnome/mime-info/
-install-data-local:
- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
- $(GCONFTOOL) --shutdown
-
-EXTRA_DIST = $(glade_DATA) $(schema_in_files) $(stuff_DATA)
-
-CLEANFILES=\
- $(schema_DATA)
+EXTRA_DIST = $(glade_DATA) $(stuff_DATA)

Privacy Policy