summaryrefslogtreecommitdiffstats
path: root/src/style-test.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-06-28 02:14:18 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-06-28 02:14:18 +0000
commitea75e38e1e4af1a9cb99de664e006a00bfe83c87 (patch)
treeee9f0d31d330cf8188a52d0597cf8e55f6c17bba /src/style-test.cpp
parentreverting commit 15065; let's come up with something better than this (diff)
downloadinkscape-ea75e38e1e4af1a9cb99de664e006a00bfe83c87.tar.gz
inkscape-ea75e38e1e4af1a9cb99de664e006a00bfe83c87.zip
sp_style_new argument
(bzr r3151)
Diffstat (limited to 'src/style-test.cpp')
-rw-r--r--src/style-test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/style-test.cpp b/src/style-test.cpp
index e1e450d5e..4bbd953e5 100644
--- a/src/style-test.cpp
+++ b/src/style-test.cpp
@@ -223,7 +223,7 @@ static char const *const paint_enum_vals[] = {"none", "currentColor", NULL};
static gchar *
merge_then_write_string(gchar const *const str, guint const flags)
{
- SPStyle *const style = sp_style_new();
+ SPStyle *const style = sp_style_new(NULL);
sp_style_merge_from_style_string(style, str);
gchar *const ret = sp_style_write_string(style, flags);
sp_style_unref(style);
@@ -432,8 +432,8 @@ test_scale24_mul()
static void
test_merge_opacity()
{
- SPStyle &parent = *sp_style_new();
- SPStyle &child = *sp_style_new();
+ SPStyle &parent = *sp_style_new(NULL);
+ SPStyle &child = *sp_style_new(NULL);
unsigned const either = 2;
struct {
@@ -618,7 +618,7 @@ test_style()
utest_start("style");
UTEST_TEST("sp_style_new, sp_style_write_string") {
- SPStyle *style = sp_style_new();
+ SPStyle *style = sp_style_new(NULL);
g_assert(style);
gchar *str0_all = sp_style_write_string(style, SP_STYLE_FLAG_ALWAYS);
gchar *str0_set = sp_style_write_string(style, SP_STYLE_FLAG_IFSET);