Re: [patch] use new PackageKit session interface
- From: Richard Hughes <hughsient gmail com>
- To: Alexander Larsson <alexl redhat com>
- Cc: nautilus-list <nautilus-list gnome org>
- Subject: Re: [patch] use new PackageKit session interface
- Date: Wed, 14 Jan 2009 11:58:43 +0000
On Wed, 2009-01-14 at 09:30 +0100, Alexander Larsson wrote:
> On Tue, 2009-01-13 at 14:55 +0000, Richard Hughes wrote:
> > + mime_types = g_strsplit (mime_type, "|", 1);
>
> I don't understand this. When do we have | in our mimetypes?
We don't. The interface expects a type of as (char**), and we're passing
it a s (char*) type. The interface was added to pass an array of
mime-types, rather than the one that we can do now.
Better ways of doing it welcomed.
Richard.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]