Bug 545350 – GAppInfo deletion Bug 545351 – Reset associations for

2008-09-26  Matthias Clasen  <mclasen@redhat.com>

        Bug 545350 – GAppInfo deletion
        Bug 545351 – Reset associations for content type

        * gio.symbols:
        * gappinfo.[hc]: New functions g_app_info_can_delete,
        g_app_info_delete and g_app_info_reset_type_associations.

        * gdesktopappinfo.c:
        * gwin32appinfo.c: Implementations of these.

        * tests/Makefile.am:
        * tests/desktop-app-info.c: Tests for GAppInfo functionality.


svn path=/trunk/; revision=7554
This commit is contained in:
Matthias Clasen
2008-09-26 19:57:36 +00:00
committed by Matthias Clasen
parent 7f4864e58d
commit 764e187fd9
8 changed files with 498 additions and 67 deletions

View File

@@ -22,7 +22,8 @@ TEST_PROGS += \
g-file \
g-file-info \
data-input-stream \
data-output-stream
data-output-stream \
desktop-app-info
if OS_UNIX
TEST_PROGS += live-g-file unix-streams
@@ -49,7 +50,9 @@ data_output_stream_LDADD = $(progs_ldadd)
live_g_file_SOURCES = live-g-file.c
live_g_file_LDADD = $(progs_ldadd)
desktop_app_info_SOURCES = desktop-app-info.c
desktop_app_info_LDADD = $(progs_ldadd)
unix_streams_SOURCES = unix-streams.c
unix_streams_LDADD = $(progs_ldadd) \
$(top_builddir)/gthread/libgthread-2.0.la