summaryrefslogtreecommitdiff
path: root/lib/pixman/demos/scale.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-12-01 20:34:21 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-12-01 20:34:21 +0000
commita5bbbb8d49b940f16b8fca367fa3e2cc5489f862 (patch)
tree79a94b85f71cf67460335388866fdcdf78942987 /lib/pixman/demos/scale.c
parent8a0bfc9a32ee1e84d7274040f2902b8e1b459d0f (diff)
Update to pixman 0.32.4. Tested by naddy@ and ajacoutot@
Diffstat (limited to 'lib/pixman/demos/scale.c')
-rw-r--r--lib/pixman/demos/scale.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pixman/demos/scale.c b/lib/pixman/demos/scale.c
index 869ada12b..d00307e44 100644
--- a/lib/pixman/demos/scale.c
+++ b/lib/pixman/demos/scale.c
@@ -103,8 +103,8 @@ compute_extents (pixman_f_transform_t *trans, double *sx, double *sy)
typedef struct
{
- char name [20];
- pixman_kernel_t value;
+ char name [20];
+ int value;
} named_int_t;
static const named_int_t filters[] =
@@ -127,7 +127,7 @@ static const named_int_t repeats[] =
{ "Pad", PIXMAN_REPEAT_PAD },
};
-static pixman_kernel_t
+static int
get_value (app_t *app, const named_int_t table[], const char *box_name)
{
GtkComboBox *box = GTK_COMBO_BOX (get_widget (app, box_name));