[libegg] EggSpreadTableDnd: Remove unused variable.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libegg] EggSpreadTableDnd: Remove unused variable.
- Date: Wed, 31 Aug 2011 15:06:13 +0000 (UTC)
commit 5223689cc295f82b30f41b1f96041b7bed1d25d9
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Aug 31 17:06:04 2011 +0200
EggSpreadTableDnd: Remove unused variable.
libegg/spreadtable/eggspreadtablednd.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libegg/spreadtable/eggspreadtablednd.c b/libegg/spreadtable/eggspreadtablednd.c
index 3767174..26e0a68 100644
--- a/libegg/spreadtable/eggspreadtablednd.c
+++ b/libegg/spreadtable/eggspreadtablednd.c
@@ -1019,7 +1019,7 @@ get_index_at_position (EggSpreadTableDnd *spread_table,
gint *line_ret)
{
EggSpreadTable *table;
- GtkWidget *widget, *child;
+ GtkWidget *child;
GList *children, *l;
GtkAllocation allocation;
gint placeholder_cnt = 0;
@@ -1027,7 +1027,6 @@ get_index_at_position (EggSpreadTableDnd *spread_table,
gint *segments, lines, line = -1, i, full_size, spacing, position, line_width, first_child;
gint index = -1;
- widget = GTK_WIDGET (spread_table);
table = EGG_SPREAD_TABLE (spread_table);
/* First find the "line" in question */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]