lkml.org 
[lkml]   [2017]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 5/5] trace-cmd: Remove unused view_width variable
Date
Signed-off-by: Michael Sartain <mikesart@fastmail.com>
---
trace-graph.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/trace-graph.c b/trace-graph.c
index 1db342f..2c49549 100644
--- a/trace-graph.c
+++ b/trace-graph.c
@@ -1263,7 +1263,6 @@ static void draw_info_box(struct graph_info *ginfo, const gchar *buffer,
gint width, height;
GdkPixmap *pix;
static GdkGC *pix_bg;
- gint view_width;
gint view_start;

if (!pix_bg) {
@@ -1284,7 +1283,6 @@ static void draw_info_box(struct graph_info *ginfo, const gchar *buffer,
height += PLOT_BOARDER * 2;

view_start = gtk_adjustment_get_value(ginfo->hadj);
- view_width = gtk_adjustment_get_page_size(ginfo->hadj);
if (x > view_start + width)
x -= width;

--
2.13.2
\
 
 \ /
  Last update: 2017-08-12 19:37    [W:0.046 / U:0.752 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site