Enabling crosshairs on TCP stream graph paints the screen.
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 6 Dec 2011 19:28:28 +0000 (19:28 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 6 Dec 2011 19:28:28 +0000 (19:28 +0000)
Move the problem to GTK3+

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6646

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40106 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/tcp_graph.c

index 39973b4982c251a2980d949029ee4d1328b0a9a2..ceb761576e213f0c455174467a09933568c229dd 100644 (file)
@@ -2807,11 +2807,11 @@ static int ellipse_detect_collision (struct element *e, int x, int y)
 
 static void cross_xor (struct graph *g, int x, int y)
 {
-#if GTK_CHECK_VERSION(2,22,0)
+#if GTK_CHECK_VERSION(3,0,0)
        GdkColor color_gray15 = {0x0, 0x2626, 0x2626, 0x2626};
        cairo_t *cr;
 
-       /* XXX Fix me: lines do not disapere */
+       /* XXX Fix me: lines do not disappear */
        if (x > g->wp.x && x < g->wp.x+g->wp.width &&
                                y >= g->wp.y && y < g->wp.y+g->wp.height) {
                /* Draw horisontal line */