diff --git a/src/core/boxes-private.h b/src/core/boxes-private.h index 6a9fbe11c..2f92d204d 100644 --- a/src/core/boxes-private.h +++ b/src/core/boxes-private.h @@ -62,8 +62,6 @@ char* meta_rectangle_to_string (const MetaRectangle *rect, char* meta_rectangle_region_to_string (GList *region, const char *separator_string, char *output); -char* meta_rectangle_edge_to_string (const MetaEdge *edge, - char *output); char* meta_rectangle_edge_list_to_string ( GList *edge_list, const char *separator_string, diff --git a/src/core/boxes.c b/src/core/boxes.c index d2143144c..42c1374b8 100644 --- a/src/core/boxes.c +++ b/src/core/boxes.c @@ -97,24 +97,6 @@ meta_rectangle_region_to_string (GList *region, return output; } -char* -meta_rectangle_edge_to_string (const MetaEdge *edge, - char *output) -{ - /* 25 chars: 2 commas, space, plus, trailing \0 + 5 for each digit. - * Should be more than enough space. Note that of this space, the - * trailing \0 will be overwritten for all but the last rectangle. - * - * Plus 2 for parenthesis, 4 for 2 more numbers, 2 more commas, and - * 2 more spaces, for a total of 10 more. - */ - g_snprintf (output, EDGE_LENGTH, "[%d,%d +%d,%d], %2d, %2d", - edge->rect.x, edge->rect.y, edge->rect.width, edge->rect.height, - edge->side_type, edge->edge_type); - - return output; -} - char* meta_rectangle_edge_list_to_string (GList *edge_list, const char *separator_string,