mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
c796ee4c97
* libnautilus/nautilus-directory.h: (nautilus_file_get): (nautilus_file_detach): (nautilus_directory_finalize): (nautilus_file_unref): Added interface to get a NautilusFile for a specific file rather than a file from a directory that we are scanning. * libnautilus/nautilus-glib-extensions.c: (check_tm_to_g_date): A little cleanup of the self-check code. * libnautilus/Makefile.am: libnautilus/libnautilus.h: libnautilus/nautilus-alloc.h: libnautilus/nautilus-directory.h: Moved g_alloca into its own header file so you don't have to include all the Bonobo stuff just to use g_alloca.
31 lines
1 KiB
C
31 lines
1 KiB
C
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*-
|
|
|
|
Nautilus extensions to things like malloc and alloca.
|
|
|
|
Copyright (C) 2000 Eazel, Inc.
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License as
|
|
published by the Free Software Foundation; either version 2 of the
|
|
License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public
|
|
License along with this program; if not, write to the
|
|
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
Boston, MA 02111-1307, USA.
|
|
|
|
Author: Darin Adler <darin@eazel.com>
|
|
*/
|
|
|
|
#ifdef HAVE_ALLOCA_H
|
|
#include <alloca.h>
|
|
#endif
|
|
|
|
#ifndef g_alloca
|
|
#define g_alloca alloca
|
|
#endif
|