Commit 7be352f4 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Remove C99-isms (#304879, Kazuki IWAMOTO)

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

        * gtk/gtkfilesystem.c: Remove C99-isms (#304879,
        Kazuki IWAMOTO)
parent 8aea07b7
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):
......
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):
......
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):
......
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment