diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2011-06-05 16:49:54 -0400 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-06-09 05:51:54 +0200 |
commit | 4e95e6ae21d8105453a49e1eac072917a9cf996e (patch) | |
tree | 29114a9bff70258d732b73123434c4b6b5b2ff7b /gtk/gtkborderimageprivate.h | |
parent | 052d6ef6dab179bc0f5adebcd85da97821210109 (diff) | |
download | gtk+-4e95e6ae21d8105453a49e1eac072917a9cf996e.tar.gz |
border-image: move private types to gtkcsstypes.c
Diffstat (limited to 'gtk/gtkborderimageprivate.h')
-rw-r--r-- | gtk/gtkborderimageprivate.h | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/gtk/gtkborderimageprivate.h b/gtk/gtkborderimageprivate.h index 2eddd9363a..5068c511a1 100644 --- a/gtk/gtkborderimageprivate.h +++ b/gtk/gtkborderimageprivate.h @@ -24,23 +24,14 @@ #ifndef __GTK_BORDER_IMAGE_H__ #define __GTK_BORDER_IMAGE_H__ -#include <gtk/gtkborder.h> -#include <gtk/gtkenums.h> -#include <gtk/gtkgradient.h> -#include <gtk/gtkstyleproperties.h> -#include <gtk/gtkthemingengine.h> +#include "gtkborder.h" +#include "gtkgradient.h" +#include "gtkstyleproperties.h" +#include "gtkthemingengine.h" +#include "gtkcsstypesprivate.h" G_BEGIN_DECLS -#define GTK_TYPE_BORDER_IMAGE_REPEAT (_gtk_border_image_repeat_get_type ()) - -GType _gtk_border_image_repeat_get_type (void) G_GNUC_CONST; - -typedef struct { - GtkRepeatStyle vrepeat; - GtkRepeatStyle hrepeat; -} GtkBorderImageRepeat; - typedef struct _GtkBorderImage GtkBorderImage; #define GTK_TYPE_BORDER_IMAGE (_gtk_border_image_get_type ()) @@ -49,10 +40,10 @@ GType _gtk_border_image_get_type (void) G_GNUC_CONST; GtkBorderImage * _gtk_border_image_new (cairo_pattern_t *source, GtkBorder *slice, - GtkBorderImageRepeat *repeat); + GtkCssBorderImageRepeat *repeat); GtkBorderImage * _gtk_border_image_new_for_gradient (GtkGradient *gradient, GtkBorder *slice, - GtkBorderImageRepeat *repeat); + GtkCssBorderImageRepeat *repeat); GtkBorderImage * _gtk_border_image_resolve (GtkBorderImage *image, GtkStyleProperties *props); |