diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-12-06 19:28:28 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-12-06 19:28:28 +0000 |
commit | 2fb1ba874c95b4d985ebe12a0c7301d832bb0b5b (patch) | |
tree | ba0732e7dfcbc3dcabfbb84ab6cea0419660b1d6 /gtk/tcp_graph.c | |
parent | a7420eca137846cae1df15a9e2c0e61b6aa532f6 (diff) |
Enabling crosshairs on TCP stream graph paints the screen.
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
Diffstat (limited to 'gtk/tcp_graph.c')
-rw-r--r-- | gtk/tcp_graph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/tcp_graph.c b/gtk/tcp_graph.c index 39973b4982..ceb761576e 100644 --- a/gtk/tcp_graph.c +++ b/gtk/tcp_graph.c @@ -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 */ |