summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b30228e)
raw | patch | inline | side by side (parent: b30228e)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 28 Jun 2007 02:14:18 +0000 (02:14 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 28 Jun 2007 02:14:18 +0000 (02:14 +0000) |
src/style-test.cpp | patch | blob | history |
diff --git a/src/style-test.cpp b/src/style-test.cpp
index e1e450d5ef3599cec3f0ff93ae14193f8744b4e7..4bbd953e55cacacb0c1f963be517b186e244ef40 100644 (file)
--- a/src/style-test.cpp
+++ b/src/style-test.cpp
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);
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 {
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);