Remove C99-isms (#304879, Kazuki IWAMOTO)

2005-05-20  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilesystem.c: Remove C99-isms (#304879,
        Kazuki IWAMOTO)
This commit is contained in:
Matthias Clasen 2005-05-20 16:35:19 +00:00 committed by Matthias Clasen
parent 8aea07b726
commit 7be352f465
4 changed files with 21 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-05-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystem.c: Remove C99-isms (#304879,
Kazuki IWAMOTO)
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri):

View File

@ -1,3 +1,8 @@
2005-05-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystem.c: Remove C99-isms (#304879,
Kazuki IWAMOTO)
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri):

View File

@ -1,3 +1,8 @@
2005-05-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystem.c: Remove C99-isms (#304879,
Kazuki IWAMOTO)
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri):

View File

@ -787,10 +787,12 @@ gchar *
gtk_file_system_get_bookmark_label (GtkFileSystem *file_system,
const GtkFilePath *path)
{
GtkFileSystemIface *iface;
g_return_val_if_fail (GTK_IS_FILE_SYSTEM (file_system), NULL);
g_return_val_if_fail (path != NULL, FALSE);
GtkFileSystemIface *iface = GTK_FILE_SYSTEM_GET_IFACE (file_system);
iface = GTK_FILE_SYSTEM_GET_IFACE (file_system);
if (iface->get_bookmark_label)
return iface->get_bookmark_label (file_system, path);
@ -813,10 +815,12 @@ gtk_file_system_set_bookmark_label (GtkFileSystem *file_system,
const GtkFilePath *path,
const gchar *label)
{
GtkFileSystemIface *iface;
g_return_if_fail (GTK_IS_FILE_SYSTEM (file_system));
g_return_if_fail (path != NULL);
GtkFileSystemIface *iface = GTK_FILE_SYSTEM_GET_IFACE (file_system);
iface = GTK_FILE_SYSTEM_GET_IFACE (file_system);
if (iface->set_bookmark_label)
iface->set_bookmark_label (file_system, path, label);
}