summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ebd5eec)
raw | patch | inline | side by side (parent: ebd5eec)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 4 Dec 2007 05:42:14 +0000 (05:42 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 4 Dec 2007 05:42:14 +0000 (05:42 +0000) |
src/dialogs/stroke-style.cpp | patch | blob | history |
index 54c1b7164b87b0cf675a08bf2040e7fd39334f6f..903b7ea4769239ebe5ce2a4d3fd1ca0cce42078c 100644 (file)
Inkscape::GC::release(mrepr);
// Uncomment this to get the sandbox documents saved (useful for debugging)
- //FILE *fp = fopen (g_strconcat(mname, ".svg", NULL), "w");
+ //FILE *fp = fopen (g_strconcat(menu_id, mname, ".svg", NULL), "w");
//sp_repr_save_stream (sp_document_repr_doc (sandbox), fp);
//fclose (fp);
double sf = 0.8;
GdkPixbuf* pixbuf = NULL;
- Glib::ustring key = svg_preview_cache.cache_key(source->uri, mname, psize);
+ gchar *cache_name = g_strconcat(menu_id, mname, NULL);
+ Glib::ustring key = svg_preview_cache.cache_key(source->uri, cache_name, psize);
+ g_free (cache_name);
pixbuf = svg_preview_cache.get_preview_from_cache(key);
if (pixbuf == NULL) {