summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-01-07 13:52:25 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-01-07 13:52:25 +0200
commit96d7a66261da2153224654a5531bbc0286c6967b (patch)
treec80e9cd0b5b0efde541aa54752579ce17597493f
parentd982d0a50f5941944e60cd519a0ba935733f4b2c (diff)
downloadmetacity-96d7a66261da2153224654a5531bbc0286c6967b.tar.gz
remove common.c
-rw-r--r--src/Makefile.am1
-rw-r--r--src/core/common.c34
-rw-r--r--src/core/frame.c4
3 files changed, 0 insertions, 39 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d08667b9..fe8e1078 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -82,7 +82,6 @@ libmetacity_private_la_SOURCES= \
core/workspace.h \
core/xprops.c \
include/xprops.h \
- core/common.c \
include/common.h \
include/core.h \
include/ui.h \
diff --git a/src/core/common.c b/src/core/common.c
deleted file mode 100644
index e1f27eb0..00000000
--- a/src/core/common.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
-
-/* Metacity X window decorations */
-
-/*
- * Copyright (C) 2001 Havoc Pennington
- * Copyright (C) 2003, 2004 Red Hat, Inc.
- * Copyright (C) 2005 Elijah Newren
- *
- * 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, see <http://www.gnu.org/licenses/>.
- */
-
-#include <config.h>
-#include "common.h"
-
-void
-meta_frame_borders_clear (MetaFrameBorders *self)
-{
- self->visible.top = 0;
- self->visible.bottom = 0;
- self->visible.left = 0;
- self->visible.right = 0;
-}
diff --git a/src/core/frame.c b/src/core/frame.c
index 76f79792..e1727583 100644
--- a/src/core/frame.c
+++ b/src/core/frame.c
@@ -299,9 +299,6 @@ meta_frame_get_flags (MetaFrame *frame)
return flags;
}
-/* Moved to core/common.c
- */
-#if 0
void
meta_frame_borders_clear (MetaFrameBorders *self)
{
@@ -310,7 +307,6 @@ meta_frame_borders_clear (MetaFrameBorders *self)
self->visible.left = 0;
self->visible.right = 0;
}
-#endif
void
meta_frame_calc_borders (MetaFrame *frame,