mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 04:36:17 +01:00
Fix spelling Add g_return_val_if_fail.
2004-12-15 Alexander Larsson <alexl@redhat.com> * glib/gconvert.c: (g_filename_display_basename): Fix spelling Add g_return_val_if_fail. * glib/glib.symbols: Add g_filename_display_basename
This commit is contained in:
parent
aba9e78ec4
commit
c839cdff0e
@ -1,3 +1,12 @@
|
|||||||
|
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* glib/gconvert.c: (g_filename_display_basename):
|
||||||
|
Fix spelling
|
||||||
|
Add g_return_val_if_fail.
|
||||||
|
|
||||||
|
* glib/glib.symbols:
|
||||||
|
Add g_filename_display_basename
|
||||||
|
|
||||||
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* glib/gconvert.[ch]:
|
* glib/gconvert.[ch]:
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* glib/gconvert.c: (g_filename_display_basename):
|
||||||
|
Fix spelling
|
||||||
|
Add g_return_val_if_fail.
|
||||||
|
|
||||||
|
* glib/glib.symbols:
|
||||||
|
Add g_filename_display_basename
|
||||||
|
|
||||||
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* glib/gconvert.[ch]:
|
* glib/gconvert.[ch]:
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* glib/gconvert.c: (g_filename_display_basename):
|
||||||
|
Fix spelling
|
||||||
|
Add g_return_val_if_fail.
|
||||||
|
|
||||||
|
* glib/glib.symbols:
|
||||||
|
Add g_filename_display_basename
|
||||||
|
|
||||||
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* glib/gconvert.[ch]:
|
* glib/gconvert.[ch]:
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* glib/gconvert.c: (g_filename_display_basename):
|
||||||
|
Fix spelling
|
||||||
|
Add g_return_val_if_fail.
|
||||||
|
|
||||||
|
* glib/glib.symbols:
|
||||||
|
Add g_filename_display_basename
|
||||||
|
|
||||||
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* glib/gconvert.[ch]:
|
* glib/gconvert.[ch]:
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* glib/gconvert.c: (g_filename_display_basename):
|
||||||
|
Fix spelling
|
||||||
|
Add g_return_val_if_fail.
|
||||||
|
|
||||||
|
* glib/glib.symbols:
|
||||||
|
Add g_filename_display_basename
|
||||||
|
|
||||||
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
2004-12-15 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* glib/gconvert.[ch]:
|
* glib/gconvert.[ch]:
|
||||||
|
@ -1918,7 +1918,7 @@ make_valid_utf8 (const gchar *name)
|
|||||||
* You must pass the whole absolute pathname to this functions so that
|
* You must pass the whole absolute pathname to this functions so that
|
||||||
* translation of well known locations can be done.
|
* translation of well known locations can be done.
|
||||||
*
|
*
|
||||||
* This function is prefered over g_filename_display_name() if you know the
|
* This function is preferred over g_filename_display_name() if you know the
|
||||||
* whole path, as it allows translation.
|
* whole path, as it allows translation.
|
||||||
*
|
*
|
||||||
* Return value: a newly allocated string containing
|
* Return value: a newly allocated string containing
|
||||||
@ -1931,6 +1931,8 @@ g_filename_display_basename (const gchar *filename)
|
|||||||
{
|
{
|
||||||
char *basename;
|
char *basename;
|
||||||
char *display_name;
|
char *display_name;
|
||||||
|
|
||||||
|
g_return_val_if_fail (filename != NULL, NULL);
|
||||||
|
|
||||||
basename = g_path_get_basename (filename);
|
basename = g_path_get_basename (filename);
|
||||||
display_name = g_filename_display_name (basename);
|
display_name = g_filename_display_name (basename);
|
||||||
|
@ -169,6 +169,7 @@ g_file_get_contents PRIVATE
|
|||||||
g_file_get_contents_utf8
|
g_file_get_contents_utf8
|
||||||
#endif
|
#endif
|
||||||
g_filename_display_name G_GNUC_MALLOC
|
g_filename_display_name G_GNUC_MALLOC
|
||||||
|
g_filename_display_basename G_GNUC_MALLOC
|
||||||
g_filename_from_uri PRIVATE G_GNUC_MALLOC
|
g_filename_from_uri PRIVATE G_GNUC_MALLOC
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
g_filename_from_uri_utf8 G_GNUC_MALLOC
|
g_filename_from_uri_utf8 G_GNUC_MALLOC
|
||||||
|
Loading…
Reference in New Issue
Block a user