GskTransform: Remove unused function from private header

We only use this in gsktransform.c
This commit is contained in:
Timm Bäder 2020-07-24 17:48:54 +02:00
parent 5a9b54df96
commit 756b84033a
2 changed files with 5 additions and 6 deletions

View File

@ -93,6 +93,10 @@ G_DEFINE_BOXED_TYPE (GskTransform, gsk_transform,
static gboolean static gboolean
gsk_transform_is_identity (GskTransform *self); gsk_transform_is_identity (GskTransform *self);
static GskTransform *
gsk_transform_matrix_with_category (GskTransform *next,
const graphene_matrix_t*matrix,
GskTransformCategory category);
static inline gboolean static inline gboolean
gsk_transform_has_class (GskTransform *self, gsk_transform_has_class (GskTransform *self,
@ -448,7 +452,7 @@ static const GskTransformClass GSK_TRANSFORM_TRANSFORM_CLASS =
gsk_matrix_transform_equal, gsk_matrix_transform_equal,
}; };
GskTransform * static GskTransform *
gsk_transform_matrix_with_category (GskTransform *next, gsk_transform_matrix_with_category (GskTransform *next,
const graphene_matrix_t *matrix, const graphene_matrix_t *matrix,
GskTransformCategory category) GskTransformCategory category)

View File

@ -23,16 +23,11 @@
#include "gsktransform.h" #include "gsktransform.h"
#include "gsk/gskrendernodeprivate.h"
#include <gtk/css/gtkcss.h> #include <gtk/css/gtkcss.h>
#include "gtk/css/gtkcssparserprivate.h" #include "gtk/css/gtkcssparserprivate.h"
G_BEGIN_DECLS G_BEGIN_DECLS
GskTransform * gsk_transform_matrix_with_category (GskTransform *next,
const graphene_matrix_t*matrix,
GskTransformCategory category);
gboolean gsk_transform_parser_parse (GtkCssParser *parser, gboolean gsk_transform_parser_parse (GtkCssParser *parser,
GskTransform **out_transform); GskTransform **out_transform);