Oops, fix last commit.

svn path=/trunk/; revision=6438
This commit is contained in:
Alexander Larsson 2008-02-01 11:30:37 +00:00
parent a00c11f08a
commit feb28ce3a7
2 changed files with 4 additions and 3 deletions

View File

@ -24,6 +24,7 @@
#include "gappinfo.h"
#include "glibintl.h"
#include <gioerror.h>
#include <gfile.h>
#include "gioalias.h"
@ -544,7 +545,7 @@ g_app_info_should_show (GAppInfo *appinfo)
gboolean
g_app_info_launch_default_for_uri (const char *uri,
GAppLaunchContext *launch_context,
GError *error)
GError **error)
{
GAppInfo *app_info;
GFile *file;
@ -561,7 +562,7 @@ g_app_info_launch_default_for_uri (const char *uri,
* affect the uri which we don't want (for instance for a
* mailto: uri).
*/
l.data = uri;
l.data = (char *)uri;
l.next = l.prev = NULL;
res = g_app_info_launch_uris (app_info, &l,
launch_context, error);

View File

@ -188,7 +188,7 @@ GAppInfo *g_app_info_get_default_for_uri_scheme (const char *uri_scheme);
gboolean g_app_info_launch_default_for_uri (const char *uri,
GAppLaunchContext *launch_context,
GError *error);
GError **error);
/**
* GAppLaunchContext: