diff options
| author | Pierre Grandin <grandinp@altern.org> | 2016-12-20 14:31:32 -0800 |
|---|---|---|
| committer | Pierre Grandin <grandinp@altern.org> | 2016-12-20 14:31:32 -0800 |
| commit | 9d163c7d7dcb67aa77f0acd5ff6b79a69ef87138 (patch) | |
| tree | 2b7e70f8e98154caacdbcf92cc670041427157d3 /navit/graphics/gd/graphics_gd.c | |
| parent | 8256261645d7267690022778fef42b9e4908333e (diff) | |
| parent | b8ec86052d0147d812e206f6eb62badb32ea4537 (diff) | |
| download | navit-qt5.tar.gz | |
Update:branch:Updating qt5 branch with trunkqt5
Diffstat (limited to 'navit/graphics/gd/graphics_gd.c')
| -rw-r--r-- | navit/graphics/gd/graphics_gd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/graphics/gd/graphics_gd.c b/navit/graphics/gd/graphics_gd.c index 908007a0e..3ef6c520b 100644 --- a/navit/graphics/gd/graphics_gd.c +++ b/navit/graphics/gd/graphics_gd.c @@ -826,7 +826,7 @@ overlay_new(struct graphics_priv *gr, struct graphics_methods *meth, struct poin dbg(lvl_debug,"enter\n"); ret=g_new0(struct graphics_priv, 1); *meth=graphics_methods; - font_freetype_new=plugin_get_font_type("freetype"); + font_freetype_new=plugin_get_category_font("freetype"); if (!font_freetype_new) return NULL; font_freetype_new(&ret->freetype_methods); @@ -855,7 +855,7 @@ graphics_gd_new(struct navit *nav, struct graphics_methods *meth, struct attr ** struct font_priv * (*font_freetype_new)(void *meth); struct graphics_priv *ret; event_request_system("glib","graphics_gd_new"); - font_freetype_new=plugin_get_font_type("freetype"); + font_freetype_new=plugin_get_category_font("freetype"); if (!font_freetype_new) return NULL; *meth=graphics_methods; @@ -881,5 +881,5 @@ graphics_gd_new(struct navit *nav, struct graphics_methods *meth, struct attr ** void plugin_init(void) { - plugin_register_graphics_type("gd", graphics_gd_new); + plugin_register_category_graphics("gd", graphics_gd_new); } |
