[dia] Make compile with s/filter_get_by_name/filter_export_get_by_name/



commit 5fe2f96394ca66d347af2a7a8a5b13a92396dc87
Author: Hans Breuer <hans breuer org>
Date:   Wed Oct 3 23:44:31 2012 +0200

    Make compile with s/filter_get_by_name/filter_export_get_by_name/

 objects/Misc/diagram_as_object.c   |    2 +-
 plug-ins/shape/shape-export.c      |    2 +-
 plug-ins/wmf/paginate_gdiprint.cpp |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/objects/Misc/diagram_as_object.c b/objects/Misc/diagram_as_object.c
index 6354e56..3569239 100644
--- a/objects/Misc/diagram_as_object.c
+++ b/objects/Misc/diagram_as_object.c
@@ -203,7 +203,7 @@ _dae_draw(DiagramAsElement *dae, DiaRenderer *renderer)
 	gchar *imgfname = NULL;
 	gint fd = g_file_open_tmp ("diagram-as-elementXXXXXX.png", &imgfname, NULL);
 	if (fd != -1) {
-          DiaExportFilter *ef = filter_get_by_name ("cairo-alpha-png");
+          DiaExportFilter *ef = filter_export_get_by_name ("cairo-alpha-png");
 	  if (!ef) /* prefer cairo with alpha, but don't require it */
 	    ef = filter_guess_export_filter (imgfname);
 	  close(fd);
diff --git a/plug-ins/shape/shape-export.c b/plug-ins/shape/shape-export.c
index 96d326f..9f7c6df 100644
--- a/plug-ins/shape/shape-export.c
+++ b/plug-ins/shape/shape-export.c
@@ -530,7 +530,7 @@ export_shape(DiagramData *data, DiaContext *ctx,
     png_filename = g_strdup_printf("%s.png",point);
     g_free(point);
     /* we are especially requesting the libart/png cause it is the only one with the size-hack */
-    exportfilter = filter_get_by_name ("png-libart");
+    exportfilter = filter_export_get_by_name ("png-libart");
     /* ... but the code below does not use the size-hack anymore ... */
     if (!exportfilter)
       exportfilter = filter_guess_export_filter(png_filename);
diff --git a/plug-ins/wmf/paginate_gdiprint.cpp b/plug-ins/wmf/paginate_gdiprint.cpp
index 81d7049..e54fbad 100644
--- a/plug-ins/wmf/paginate_gdiprint.cpp
+++ b/plug-ins/wmf/paginate_gdiprint.cpp
@@ -141,7 +141,7 @@ diagram_print_gdi(DiagramData *data, const gchar *filename, DiaContext *ctx)
   DiaExportFilter* pExp = NULL;
   int i;
 
-  pExp = filter_get_by_name("wmf");
+  pExp = filter_export_get_by_name("wmf");
 
   if (!pExp) {
     dia_context_add_message (ctx, "Can't print without the WMF plugin installed");



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