summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystem.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2004-01-27 23:20:01 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2004-01-27 23:20:01 +0000
commit7af769f92c49fab087991ab63c15874f9a4c211b (patch)
treed0ad263891e5909566fe2ec57feff09d8ed7c122 /gtk/gtkfilesystem.h
parent320166f2a73bec5cf860249b796ba72e2730bd07 (diff)
downloadgtk+-7af769f92c49fab087991ab63c15874f9a4c211b.tar.gz
Fix #132314.
2004-01-27 Federico Mena Quintero <federico@ximian.com> Fix #132314. * gtk/gtkfilesystem.h: Removed the #ifdef-ed out, old icon API. * gtk/gtkfilesystem.c: Likewise. * gtk/gtkfilesystemunix.c (filename_get_info): Removed the old icon-type code. (gtk_file_system_unix_render_icon): Moved the icon-rendering code from GtkFileInfo to here. (gtk_file_system_unix_volume_render_icon): Implement.
Diffstat (limited to 'gtk/gtkfilesystem.h')
-rw-r--r--gtk/gtkfilesystem.h28
1 files changed, 1 insertions, 27 deletions
diff --git a/gtk/gtkfilesystem.h b/gtk/gtkfilesystem.h
index 9f9d2650c0..99e7268861 100644
--- a/gtk/gtkfilesystem.h
+++ b/gtk/gtkfilesystem.h
@@ -55,27 +55,9 @@ typedef enum {
GTK_FILE_INFO_MIME_TYPE = 1 << 3,
GTK_FILE_INFO_MODIFICATION_TIME = 1 << 4,
GTK_FILE_INFO_SIZE = 1 << 5,
-#if 0
- GTK_FILE_INFO_ICON = 1 << 6,
-#endif
- GTK_FILE_INFO_ALL = (1 << 7) - 1
+ GTK_FILE_INFO_ALL = (1 << 6) - 1
} GtkFileInfoType;
-#if 0
-/* Icon type, supplemented by MIME type
- */
-typedef enum {
- GTK_FILE_ICON_REGULAR, /* Use mime type for icon */
- GTK_FILE_ICON_BLOCK_DEVICE,
- GTK_FILE_ICON_BROKEN_SYMBOLIC_LINK,
- GTK_FILE_ICON_CHARACTER_DEVICE,
- GTK_FILE_ICON_DIRECTORY,
- GTK_FILE_ICON_EXECUTABLE,
- GTK_FILE_ICON_FIFO,
- GTK_FILE_ICON_SOCKET
-} GtkFileIconType;
-#endif
-
/* GError enumeration for GtkFileSystem
*/
@@ -122,14 +104,6 @@ void gtk_file_info_set_modification_time (GtkFileInfo *in
gint64 gtk_file_info_get_size (const GtkFileInfo *info);
void gtk_file_info_set_size (GtkFileInfo *info,
gint64 size);
-#if 0
-void gtk_file_info_set_icon_type (GtkFileInfo *info,
- GtkFileIconType icon_type);
-GtkFileIconType gtk_file_info_get_icon_type (const GtkFileInfo *info);
-GdkPixbuf * gtk_file_info_render_icon (const GtkFileInfo *info,
- GtkWidget *widget,
- gint pixel_size);
-#endif
/* The base GtkFileSystem interface
*/