summaryrefslogtreecommitdiff
path: root/x11/gnomeapplets/files/patch-battery::read-battery.c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-07-15 19:10:59 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-07-15 19:10:59 +0000
commitcc6825cf28f45c090747ed100adeb2189bda6280 (patch)
tree227c9e7f8d44c0aaf556fd64a12ba3661c086be6 /x11/gnomeapplets/files/patch-battery::read-battery.c
parentRemove nautilus support now that Nautilus has been removed from the tree. (diff)
Begin the de-orbit burn of the GNOME 1.4 desktop. This is phase I. All
core desktop components are being removed.
Notes
Notes: svn path=/head/; revision=84934
Diffstat (limited to 'x11/gnomeapplets/files/patch-battery::read-battery.c')
-rw-r--r--x11/gnomeapplets/files/patch-battery::read-battery.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/x11/gnomeapplets/files/patch-battery::read-battery.c b/x11/gnomeapplets/files/patch-battery::read-battery.c
deleted file mode 100644
index b21c4f82e519..000000000000
--- a/x11/gnomeapplets/files/patch-battery::read-battery.c
+++ /dev/null
@@ -1,22 +0,0 @@
-
-$FreeBSD$
-
---- battery/read-battery.c 2002/01/14 14:23:46 1.1
-+++ battery/read-battery.c 2002/01/14 14:25:45
-@@ -170,7 +170,7 @@
- *hours_remaining = -1;
- *minutes_remaining = 1;
-
-- fd = open(APMDEV, O_RDWR);
-+ fd = open(APMDEV, O_RDONLY);
- if (fd == -1)
- {
- g_error (_("Cannot open /dev/apm; can't get data."));
-@@ -179,6 +179,7 @@
-
- if (ioctl(fd, APMIO_GETINFO, &aip) == -1) {
- g_error(_("ioctl failed on /dev/apm."));
-+ close(fd);
- return FALSE;
- }
-