Actually call the launch_uris method, not launch.

2008-02-01  Alexander Larsson  <alexl@redhat.com>

	* gappinfo.c (g_app_info_launch_uris):
	Actually call the launch_uris method, not
	launch.

2008-02-01  Alexander Larsson  <alexl@redhat.com>

	* gdesktopappinfo.c (g_desktop_app_info_equal):
	Ensure appinfos with no id but same pointer value
	compare equal



svn path=/trunk/; revision=6440
This commit is contained in:
Alexander Larsson 2008-02-01 12:02:52 +00:00 committed by Alexander Larsson
parent d9b8be3b5c
commit a7749bab36
3 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,15 @@
2008-02-01 Alexander Larsson <alexl@redhat.com>
* gappinfo.c (g_app_info_launch_uris):
Actually call the launch_uris method, not
launch.
2008-02-01 Alexander Larsson <alexl@redhat.com>
* gdesktopappinfo.c (g_desktop_app_info_equal):
Ensure appinfos with no id but same pointer value
compare equal
2008-02-01 Alexander Larsson <alexl@redhat.com>
* gappinfo.c (g_app_info_launch_default_for_uri):

View File

@ -504,7 +504,7 @@ g_app_info_launch_uris (GAppInfo *appinfo,
iface = G_APP_INFO_GET_IFACE (appinfo);
return (* iface->launch) (appinfo, uris, launch_context, error);
return (* iface->launch_uris) (appinfo, uris, launch_context, error);
}

View File

@ -388,7 +388,7 @@ g_desktop_app_info_equal (GAppInfo *appinfo1,
if (info1->desktop_id == NULL ||
info2->desktop_id == NULL)
return FALSE;
return info1 == info2;
return strcmp (info1->desktop_id, info2->desktop_id) == 0;
}