diff --git a/xscreen.c b/xscreen.c index 8d02f405..f51c71e6 100644 --- a/xscreen.c +++ b/xscreen.c @@ -40,13 +40,6 @@ screen_xsitoarea(xcb_xinerama_screen_info_t si) return a; } -void -screensinfo_delete(screens_info_t **si) -{ - p_delete(&(*si)->geometry); - p_delete(si); -} - /** Get screens informations. * \return A pointer to complete screens_info_t structure. */ diff --git a/xscreen.h b/xscreen.h index 4fc36784..418830cf 100644 --- a/xscreen.h +++ b/xscreen.h @@ -31,7 +31,6 @@ typedef struct area_t *geometry; } screens_info_t; -void screensinfo_delete(screens_info_t **); screens_info_t * screensinfo_new(void); #endif