summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/surface.c18
-rw-r--r--src/surface.h2
2 files changed, 0 insertions, 20 deletions
diff --git a/src/surface.c b/src/surface.c
index ea4387d..106460a 100644
--- a/src/surface.c
+++ b/src/surface.c
@@ -192,15 +192,6 @@ void destroy_surface (struct Wlclock_surface *surface)
free(surface);
}
-void destroy_all_surfaces (struct Wlclock *clock)
-{
- clocklog(clock, 1, "[surface] Destroying all surfaces.\n");
- struct Wlclock_output *op, *tmp;
- wl_list_for_each_safe(op, tmp, &clock->outputs, link)
- if ( op->surface != NULL )
- destroy_surface(op->surface);
-}
-
void update_surface (struct Wlclock_surface *surface)
{
if ( surface == NULL || ! surface->configured )
@@ -213,15 +204,6 @@ void update_surface (struct Wlclock_surface *surface)
wl_surface_commit(surface->background_surface);
}
-void update_all_surfaces (struct Wlclock *clock)
-{
- clocklog(clock, 1, "[surface] Updating all surfaces.\n");
- struct Wlclock_output *op, *tmp;
- wl_list_for_each_safe(op, tmp, &clock->outputs, link)
- if ( op->surface != NULL )
- update_surface(op->surface);
-}
-
void update_all_hands (struct Wlclock *clock)
{
clocklog(clock, 1, "[surface] Updating all hands.\n");
diff --git a/src/surface.h b/src/surface.h
index d2dcb25..9d36f69 100644
--- a/src/surface.h
+++ b/src/surface.h
@@ -30,9 +30,7 @@ struct Wlclock_surface
bool create_surface (struct Wlclock_output *output);
void destroy_surface (struct Wlclock_surface *surface);
-void destroy_all_surfaces (struct Wlclock *clock);
void update_surface (struct Wlclock_surface *surface);
-void update_all_surfaces (struct Wlclock *clock);
void update_all_hands (struct Wlclock *clock);
#endif