Replace deprecated call to g_basename with g_path_get_basename.

2004-02-08  Jason Leach  <leach@wam.umd.edu>

	* libnautilus-private/nautilus-directory-async.c
	(filter_search_uri): Replace deprecated call to g_basename with
	g_path_get_basename.

2004-02-08  Jason Leach  <leach@wam.umd.edu>

	* src/nautilus-application.c: As noted in
	bonobo-generic-factory.h, BONOBO_GENERIC_FACTORY_TYPE is
	deprecated, use BONOBO_TYPE_GENERIC_FACTORY instead.
This commit is contained in:
Jason Leach 2004-02-08 09:09:51 +00:00 committed by Jacob Leach
parent 4c0e36b9c8
commit e062f3a6c0
3 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,15 @@
2004-02-08 Jason Leach <leach@wam.umd.edu>
* libnautilus-private/nautilus-directory-async.c
(filter_search_uri): Replace deprecated call to g_basename with
g_path_get_basename.
2004-02-08 Jason Leach <leach@wam.umd.edu>
* src/nautilus-application.c: As noted in
bonobo-generic-factory.h, BONOBO_GENERIC_FACTORY_TYPE is
deprecated, use BONOBO_TYPE_GENERIC_FACTORY instead.
2004-02-07 Shaun McCance <shaunm@gnome.org>
* libnautilus-private/nautilus-program-chooser.c:

View file

@ -2005,7 +2005,7 @@ filter_search_uri (const GnomeVFSFileInfo *info, gpointer data)
options = GPOINTER_TO_INT (data);
real_file_uri = nautilus_get_target_uri_from_search_result_name (info->name);
result = should_display_file_name (g_basename (real_file_uri), options);
result = should_display_file_name (g_path_get_basename (real_file_uri), options);
g_free (real_file_uri);
return result;

View file

@ -112,7 +112,7 @@ static void init_session (void);
static gboolean is_kdesktop_present (void);
BONOBO_CLASS_BOILERPLATE (NautilusApplication, nautilus_application,
BonoboGenericFactory, BONOBO_GENERIC_FACTORY_TYPE)
BonoboGenericFactory, BONOBO_TYPE_GENERIC_FACTORY)
static CORBA_Object
create_object (PortableServer_Servant servant,