[PATCH 07/16] src/planner-gantt-chart.c: fix warning: variable 'priv' set but not used
- From: Tinggong Wang <wangtinggong gmail com>
- To: Alexandre Franke <alexandre franke gmail com>, Richard Hult <richard imendio com>, Mikael Hallendal <micke imendio com>, Alvaro del Castillo <acs barrapunto com>, Kurt Maute <kurt maute us>, Maurice van der Pot <griffon26 kfk4ever com>
- Cc: Planner-Dev-List <planner-dev-list gnome org>
- Subject: [PATCH 07/16] src/planner-gantt-chart.c: fix warning: variable 'priv' set but not used
- Date: Thu, 13 Oct 2011 03:30:52 +0800
Signed-off-by: Tinggong Wang <wangtinggong gmail com>
---
src/planner-gantt-chart.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/src/planner-gantt-chart.c b/src/planner-gantt-chart.c
index d42b687..8ded4b2 100644
--- a/src/planner-gantt-chart.c
+++ b/src/planner-gantt-chart.c
@@ -690,13 +690,11 @@ gantt_chart_row_inserted (GtkTreeModel *model,
gpointer data)
{
PlannerGanttChart *chart;
- PlannerGanttChartPriv *priv;
gboolean free_path = FALSE;
MrpTask *task;
TreeNode *node;
chart = data;
- priv = chart->priv;
g_return_if_fail (path != NULL || iter != NULL);
@@ -1360,10 +1358,6 @@ gantt_chart_task_moved (MrpProject *project,
MrpTask *task,
PlannerGanttChart *chart)
{
- PlannerGanttChartPriv *priv;
-
- priv = chart->priv;
-
/* Note: Seems like we don't need this? */
/*gantt_chart_reflow_now (chart);*/
@@ -1852,15 +1846,12 @@ planner_gantt_chart_can_zoom (PlannerGanttChart *chart,
void
planner_gantt_chart_zoom_to_fit (PlannerGanttChart *chart)
{
- PlannerGanttChartPriv *priv;
gdouble t;
gdouble zoom;
gdouble alloc;
g_return_if_fail (PLANNER_IS_GANTT_CHART (chart));
- priv = chart->priv;
-
t = gantt_chart_get_width (chart);
if (t == -1) {
return;
--
1.7.6.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]