diff options
author | Alexander Larsson <alexl@src.gnome.org> | 2007-11-30 14:51:10 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-11-30 14:51:10 +0000 |
commit | 469047a2a58430026d68a3b99b223b922b18b8d1 (patch) | |
tree | 0d7422285604a348f98f3c93e39afdf570050678 /libnautilus-private/nautilus-trash-monitor.h | |
parent | ce669bd18cf00a3fc485ffedc53850e2d89b57e0 (diff) | |
download | nautilus-469047a2a58430026d68a3b99b223b922b18b8d1.tar.gz |
Merge gio-branch
svn path=/trunk/; revision=13464
Diffstat (limited to 'libnautilus-private/nautilus-trash-monitor.h')
-rw-r--r-- | libnautilus-private/nautilus-trash-monitor.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/libnautilus-private/nautilus-trash-monitor.h b/libnautilus-private/nautilus-trash-monitor.h index d7e055976..838e2f328 100644 --- a/libnautilus-private/nautilus-trash-monitor.h +++ b/libnautilus-private/nautilus-trash-monitor.h @@ -27,7 +27,7 @@ #define NAUTILUS_TRASH_MONITOR_H #include <gtk/gtkobject.h> -#include <libgnomevfs/gnome-vfs-volume.h> +#include <gio/gicon.h> typedef struct NautilusTrashMonitor NautilusTrashMonitor; typedef struct NautilusTrashMonitorClass NautilusTrashMonitorClass; @@ -45,24 +45,23 @@ typedef struct NautilusTrashMonitorDetails NautilusTrashMonitorDetails; (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_TRASH_MONITOR)) struct NautilusTrashMonitor { - GtkObject object; + GObject object; NautilusTrashMonitorDetails *details; }; struct NautilusTrashMonitorClass { - GtkObjectClass parent_class; + GObjectClass parent_class; void (* trash_state_changed) (NautilusTrashMonitor *trash_monitor, gboolean new_state); - void (* check_trash_directory_added) (NautilusTrashMonitor *trash_monitor, - GnomeVFSVolume *volume); }; GtkType nautilus_trash_monitor_get_type (void); NautilusTrashMonitor *nautilus_trash_monitor_get (void); gboolean nautilus_trash_monitor_is_empty (void); -GList * nautilus_trash_monitor_get_trash_directories (void); -void nautilus_trash_monitor_add_new_trash_directories (void); +GIcon *nautilus_trash_monitor_get_icon (void); + +void nautilus_trash_monitor_add_new_trash_directories (void); #endif |