summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-vfs-directory.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-10-05 10:57:34 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2011-10-05 10:57:34 -0400
commitdeb560128734593d9941f4a414e165b3943d61bf (patch)
tree397fe361b9d0aa8bc47813aec3d4848eb174ad35 /libnautilus-private/nautilus-vfs-directory.c
parentf0dc94fed68eb5a52d705391053bd642a88ab1d3 (diff)
downloadnautilus-deb560128734593d9941f4a414e165b3943d61bf.tar.gz
all: don't use EEL_CLASS_BOILERPLATE macro
Diffstat (limited to 'libnautilus-private/nautilus-vfs-directory.c')
-rw-r--r--libnautilus-private/nautilus-vfs-directory.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/libnautilus-private/nautilus-vfs-directory.c b/libnautilus-private/nautilus-vfs-directory.c
index 7b74246bd..29264ce09 100644
--- a/libnautilus-private/nautilus-vfs-directory.c
+++ b/libnautilus-private/nautilus-vfs-directory.c
@@ -27,20 +27,14 @@
#include "nautilus-vfs-directory.h"
#include "nautilus-directory-private.h"
-#include <eel/eel-gtk-macros.h>
#include "nautilus-file-private.h"
-static void nautilus_vfs_directory_init (gpointer object,
- gpointer klass);
-static void nautilus_vfs_directory_class_init (gpointer klass);
-
-EEL_CLASS_BOILERPLATE (NautilusVFSDirectory,
- nautilus_vfs_directory,
- NAUTILUS_TYPE_DIRECTORY)
+G_DEFINE_TYPE (NautilusVFSDirectory, nautilus_vfs_directory, NAUTILUS_TYPE_DIRECTORY);
static void
-nautilus_vfs_directory_init (gpointer object, gpointer klass)
+nautilus_vfs_directory_init (NautilusVFSDirectory *directory)
{
+
}
static gboolean
@@ -146,12 +140,10 @@ vfs_is_not_empty (NautilusDirectory *directory)
}
static void
-nautilus_vfs_directory_class_init (gpointer klass)
+nautilus_vfs_directory_class_init (NautilusVFSDirectoryClass *klass)
{
- NautilusDirectoryClass *directory_class;
+ NautilusDirectoryClass *directory_class = NAUTILUS_DIRECTORY_CLASS (klass);
- directory_class = NAUTILUS_DIRECTORY_CLASS (klass);
-
directory_class->contains_file = vfs_contains_file;
directory_class->call_when_ready = vfs_call_when_ready;
directory_class->cancel_callback = vfs_cancel_callback;