* gcorba.c: Include "global.h".
* gdesktop-init.c: Don't include <libgnome/libgnome.h>. * gprint.c: Likewise. * gdnd.c: Don't include <gdk/gdkprivate.h>. * gmount.c (option_has_user) [!MOUNTED_GETMNTENT1]: Disable, it's usused.
Этот коммит содержится в:
родитель
05adbccda8
Коммит
16d997d349
@ -1,3 +1,12 @@
|
||||
2001-08-19 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* gcorba.c: Include "global.h".
|
||||
* gdesktop-init.c: Don't include <libgnome/libgnome.h>.
|
||||
* gprint.c: Likewise.
|
||||
* gdnd.c: Don't include <gdk/gdkprivate.h>.
|
||||
* gmount.c (option_has_user) [!MOUNTED_GETMNTENT1]: Disable,
|
||||
it's usused.
|
||||
|
||||
2001-08-12 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* gmc-window.c: Remove.
|
||||
|
@ -8,9 +8,10 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "global.h"
|
||||
#include <libgnorba/gnorba.h>
|
||||
#include "panel.h"
|
||||
#include "../vfs/vfs.h"
|
||||
#include <libgnorba/gnorba.h>
|
||||
#include "FileManager.h"
|
||||
#include "gcorba.h"
|
||||
#include "gdesktop.h"
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <unistd.h>
|
||||
#include <libgnome/libgnome.h>
|
||||
#include "x.h"
|
||||
#include "main.h"
|
||||
#include "util.h"
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include <config.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <gdk/gdkprivate.h>
|
||||
#include "global.h"
|
||||
#include "x.h"
|
||||
#include "file.h"
|
||||
|
@ -110,6 +110,8 @@ typedef struct {
|
||||
|
||||
|
||||
|
||||
#ifdef MOUNTED_GETMNTENT1
|
||||
|
||||
static gboolean
|
||||
option_has_user (char *str)
|
||||
{
|
||||
@ -124,10 +126,6 @@ option_has_user (char *str)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifdef MOUNTED_GETMNTENT1
|
||||
|
||||
/* Returns whether the mount entry has the owner flag and our euid matches the
|
||||
* device file.
|
||||
*/
|
||||
@ -269,7 +267,7 @@ mount_point_to_device (char *mount_point)
|
||||
|
||||
|
||||
|
||||
#else
|
||||
#else /* !MOUNTED_GETMNTENT1 */
|
||||
|
||||
char *
|
||||
is_block_device_mountable (char *mount_point)
|
||||
@ -294,7 +292,7 @@ mount_point_to_device (char *mount_point)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
#endif /* !MOUNTED_GETMNTENT1 */
|
||||
|
||||
|
||||
|
||||
|
@ -6,7 +6,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <libgnome/libgnome.h>
|
||||
#include "x.h"
|
||||
#include "main.h"
|
||||
#include "util.h"
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user