Actually call the launch_uris method, not launch.
authorAlexander Larsson <alexl@redhat.com>
Fri, 1 Feb 2008 12:02:52 +0000 (12:02 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Fri, 1 Feb 2008 12:02:52 +0000 (12:02 +0000)
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

gio/ChangeLog
gio/gappinfo.c
gio/gdesktopappinfo.c

index f9c5e5e..4de9aa5 100644 (file)
@@ -1,5 +1,17 @@
 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): 
        Don't leak appinfo.
        
index add826b..251ff96 100644 (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);
 }
 
 
index fb4c154..536a1ba 100644 (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;
 }