[PATCH] Fix messed up display in GTK2
subsurface at henrik.synth.no
subsurface at henrik.synth.no
Tue Jan 29 09:48:52 PST 2013
From: Henrik Brautaset Aronsen <subsurface at henrik.synth.no>
Commit 0323cb3741caa1e0a234815999b0516d2e75b0f1 ("Prepare to
compile with gtk-3") does bad things to Subsurface on MacOSX,
at least on GTK2. The whole window looks messed up.
Signed-off-by: Henrik Brautaset Aronsen <subsurface at henrik.synth.no>
---
gtk-gui.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gtk-gui.c b/gtk-gui.c
index d4f6acd..5537d1d 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -1733,7 +1733,7 @@ static gboolean common_drawing_function(GtkWidget *widget, struct graphics_conte
tooltips = 0;
plot(gc, dive, SC_SCREEN);
}
-
+ cairo_destroy(gc->cr);
return FALSE;
}
--
1.8.1.1
More information about the subsurface
mailing list