summaryrefslogtreecommitdiff
path: root/libnautilus/libnautilus.h
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>2000-01-18 19:21:16 +0000
committerElliot Lee <sopwith@src.gnome.org>2000-01-18 19:21:16 +0000
commitb591e4c50a728234c96e3dc415d1b6f04f63cf57 (patch)
treed3451a67a60e2205e2c19d33d3f0657b1eebea2c /libnautilus/libnautilus.h
parent7e292ac0048804f96845aa930d584dc24ed90d38 (diff)
downloadnautilus-b591e4c50a728234c96e3dc415d1b6f04f63cf57.tar.gz
Since the prototypes for GtkObjectInitFunc and GtkClassInitFunc just have
* libnautilus/nautilus-gtk-macros.h: Since the prototypes for GtkObjectInitFunc and GtkClassInitFunc just have a 'gpointer' for the args, cast the given values to these function types, so that people can use the actual pointer types as arguments without receiving a warning. * src/ntl-index-panel.c: Change to match. Also set object_klass->destroy & object_klass->finalize to point to our implementation. Also remove unused variables (nautilus_index_panel_initialize, nautilus_index_panel_set_up_label). * libnautilus/nautilus-background.c, src/ntl-window-msgs.c, src/ntl-window.c, src/file-manager/fm-directory-icons.c: Remove unused variables. * src/ntl-window.h: Add a variable (unused) for future handling of content view loading. * libnautilus/libnautilus.h: Add an interim g_alloca. * libnautilus/nautilus-directory.c: Clean up a bit further, by removing the need for another if(), and using g_alloca instead of g_malloc.
Diffstat (limited to 'libnautilus/libnautilus.h')
-rw-r--r--libnautilus/libnautilus.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libnautilus/libnautilus.h b/libnautilus/libnautilus.h
index 80d136ecc..42c83272d 100644
--- a/libnautilus/libnautilus.h
+++ b/libnautilus/libnautilus.h
@@ -27,8 +27,16 @@
#ifndef LIBNAUTILUS_H
#define LIBNAUTILUS_H 1
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
+#ifndef g_alloca
+#define g_alloca alloca
+#endif
+
#include <bonobo/gnome-bonobo.h>
#include <libnautilus/nautilus.h>
+#include <libnautilus/nautilus-directory.h>
#include <libnautilus/ntl-view-frame.h>
#include <libnautilus/ntl-meta-view-frame.h>
#include <libnautilus/ntl-content-view-frame.h>