gitktrans-style.c

Go to the documentation of this file.
00001 
00012 #define GITK_LIB_C
00013 #define GITK_TRANS_STYLE_C
00014 
00015 #include "gitkincludes.h"
00016 
00017 
00023 xmlDocPtr gitk_dialog_trans_style(xmlDocPtr const src) {
00024   xmlDocPtr res=NULL;
00025 
00026   g_assert(src);
00027   gitk_log2("before applying stylesheet ("XSL_ROOT_PATH"gitk-renderer-%s/style/%s.xsl)",gitk_renderer_name,gitk_style_name);
00028 
00029   if(!(res=xsltApplyStylesheet(xsl_style,src,NULL))) {
00030     gitk_err2("failed to apply stylesheet ("XSL_ROOT_PATH"gitk-renderer-%s/style/%s.xsl)",gitk_renderer_name,gitk_style_name);
00031   }
00032   return(res);
00033 }

Generated on Thu Oct 28 10:59:15 2004 for gitk by doxygen 1.3.6