[gnome-documents] lib: update CSS syntax to GTK master



commit b310d103be090054b5cb2097884041d0d2414ebd
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Apr 25 20:16:16 2012 -0400

    lib: update CSS syntax to GTK master

 src/lib/gd-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lib/gd-utils.c b/src/lib/gd-utils.c
index 6b209ac..fab24de 100644
--- a/src/lib/gd-utils.c
+++ b/src/lib/gd-utils.c
@@ -293,7 +293,7 @@ gd_embed_image_in_frame (GdkPixbuf *source_image,
   dest_width = source_width +  border_width->left + border_width->right;
   dest_height = source_height + border_width->top + border_width->bottom;
 
-  css_str = g_strdup_printf (".embedded-image { border-image: url(\"%s\") %d %d %d %d / %d %d %d %d }",
+  css_str = g_strdup_printf (".embedded-image { border-image: url(\"%s\") %d %d %d %d / %dpx %dpx %dpx %dpx }",
                              frame_image_path, 
                              slice_width->top, slice_width->right, slice_width->bottom, slice_width->left,
                              border_width->top, border_width->right, border_width->bottom, border_width->left);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]