diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2015-01-25 13:35:47 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2015-01-25 13:35:47 +0000 |
commit | 76efbd74b76062a5cffba5e7af87264ac7bf2ea2 (patch) | |
tree | 2d1054bd011efe93b68bae0533472610577bf836 /navit/graphics | |
parent | f9d4de5a29528983d852dae1096a6bc6b1814ec6 (diff) | |
download | navit-76efbd74b76062a5cffba5e7af87264ac7bf2ea2.tar.gz |
Fix:core:Remove unused draw modes draw_mode_begin_clear and draw_mode_cursor.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6009 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics')
-rw-r--r-- | navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area.c b/navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area.c index 618ba66f2..2f2ee3ac3 100644 --- a/navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area.c +++ b/navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area.c @@ -663,13 +663,7 @@ draw_mode(struct graphics_priv *gr, enum draw_mode_num mode) { GdkRectangle r; struct graphics_priv *overlay; -#if 0 - if (mode == draw_mode_begin) { - if (! gr->parent && gr->background_gc) - gdk_draw_rectangle(gr->drawable, gr->background_gc->gc, TRUE, 0, 0, gr->width, gr->height); - } -#endif - if (mode == draw_mode_end && gr->mode != draw_mode_cursor) { + if (mode == draw_mode_end) { if (gr->parent) { if (gr->cleanup) { overlay_rect(gr->parent, gr, 1, &r); |