diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2011-02-09 00:57:50 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-02-09 00:57:50 +0800 |
commit | 2c31a5bc23cf5a092c0621bf34554ffb2b6ae2ec (patch) | |
tree | e311c2818c68f66126ee6879abd4a080b4b7ad6f /widgets/table/e-table-header-item.c | |
parent | eef8eda70ed8f716eeaae7dd8d9c81640b0dd4f8 (diff) | |
download | gsoc2013-evolution-2c31a5bc23cf5a092c0621bf34554ffb2b6ae2ec.tar.gz gsoc2013-evolution-2c31a5bc23cf5a092c0621bf34554ffb2b6ae2ec.tar.zst gsoc2013-evolution-2c31a5bc23cf5a092c0621bf34554ffb2b6ae2ec.zip |
Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
Diffstat (limited to 'widgets/table/e-table-header-item.c')
-rw-r--r-- | widgets/table/e-table-header-item.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index e6371b01b6..2ae10b87f3 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/table/e-table-header-item.c @@ -978,10 +978,8 @@ ethi_draw (GnomeCanvasItem *item, gint x1, x2; gint col; GHashTable *arrows = g_hash_table_new (NULL, NULL); - GtkStateType state; GtkStyle *style; - state = gtk_widget_get_state (GTK_WIDGET (canvas)); style = gtk_widget_get_style (GTK_WIDGET (canvas)); if (ethi->sort_info) { @@ -1178,14 +1176,12 @@ ethi_start_drag (ETableHeaderItem *ethi, GdkEvent *event) GHashTable *arrows = g_hash_table_new (NULL, NULL); GtkStateType state; GtkStyle *style; - GdkWindow *window; GtkTargetEntry ethi_drag_types[] = { { (gchar *) TARGET_ETABLE_COL_TYPE, 0, TARGET_ETABLE_COL_HEADER }, }; widget = GTK_WIDGET (GNOME_CANVAS_ITEM (ethi)->canvas); - window = gtk_widget_get_window (widget); state = gtk_widget_get_state (widget); style = gtk_widget_get_style (widget); |