forked from AuroraMiddleware/gtk
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:
parent
8aea07b726
commit
7be352f465
@ -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>
|
2005-05-18 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri):
|
* gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri):
|
||||||
|
@ -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>
|
2005-05-18 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri):
|
* gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri):
|
||||||
|
@ -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>
|
2005-05-18 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri):
|
* gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri):
|
||||||
|
@ -787,10 +787,12 @@ gchar *
|
|||||||
gtk_file_system_get_bookmark_label (GtkFileSystem *file_system,
|
gtk_file_system_get_bookmark_label (GtkFileSystem *file_system,
|
||||||
const GtkFilePath *path)
|
const GtkFilePath *path)
|
||||||
{
|
{
|
||||||
|
GtkFileSystemIface *iface;
|
||||||
|
|
||||||
g_return_val_if_fail (GTK_IS_FILE_SYSTEM (file_system), NULL);
|
g_return_val_if_fail (GTK_IS_FILE_SYSTEM (file_system), NULL);
|
||||||
g_return_val_if_fail (path != NULL, FALSE);
|
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)
|
if (iface->get_bookmark_label)
|
||||||
return iface->get_bookmark_label (file_system, path);
|
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 GtkFilePath *path,
|
||||||
const gchar *label)
|
const gchar *label)
|
||||||
{
|
{
|
||||||
|
GtkFileSystemIface *iface;
|
||||||
|
|
||||||
g_return_if_fail (GTK_IS_FILE_SYSTEM (file_system));
|
g_return_if_fail (GTK_IS_FILE_SYSTEM (file_system));
|
||||||
g_return_if_fail (path != NULL);
|
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)
|
if (iface->set_bookmark_label)
|
||||||
iface->set_bookmark_label (file_system, path, label);
|
iface->set_bookmark_label (file_system, path, label);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user