summaryrefslogtreecommitdiff
path: root/src/compositor
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2008-06-27 03:52:31 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-06-27 03:52:31 +0000
commit1aee3eff351e1fbe5a2aa73101e2390447410817 (patch)
tree0b248d7324d0f6a2d299608404f733cb80f530d3 /src/compositor
parent9d31fa61ede73a4eb91efe9612680aaa7dbfc00e (diff)
downloadmetacity-1aee3eff351e1fbe5a2aa73101e2390447410817.tar.gz
metacity-1aee3eff351e1fbe5a2aa73101e2390447410817.tar.bz2
Keep the compiler from giving some warnings.
2008-06-26 Thomas Thurman <tthurman@gnome.org> Keep the compiler from giving some warnings. * src/compositor/compositor-xrender.c (xrender_begin_move, xrender_update_move, xrender_end_move, xrender_free_window): four functions which were never called and contain no code #iffed out. * src/tools/metacity-mag.c (grab_area_at_mouse): fixed typecast error. svn path=/trunk/; revision=3769
Diffstat (limited to 'src/compositor')
-rw-r--r--src/compositor/compositor-xrender.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c
index c2b60ac..b128daf 100644
--- a/src/compositor/compositor-xrender.c
+++ b/src/compositor/compositor-xrender.c
@@ -2697,6 +2697,11 @@ xrender_destroy (MetaCompositor *compositor)
#endif
}
+#if 0
+/* Taking these out because they're empty and never called, and the
+ * compiler complains -- tthurman
+ */
+
static void
xrender_begin_move (MetaCompositor *compositor,
MetaWindow *window,
@@ -2741,7 +2746,8 @@ xrender_free_window (MetaCompositor *compositor,
/* destroy_win (compositor->display, window->xwindow, FALSE); */
#endif
}
-
+#endif /* 0 */
+
static void
xrender_process_event (MetaCompositor *compositor,
XEvent *event,