[gnome-packagekit/glib2-merge-candidate] trivial: remove unused variable as reported by clang
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-packagekit/glib2-merge-candidate] trivial: remove unused variable as reported by clang
- Date: Fri, 9 Oct 2009 14:13:25 +0000 (UTC)
commit cfdd2c9f86527a0b38b1b08d0b7bd69e924dbd68
Author: Richard Hughes <richard hughsie com>
Date: Fri Oct 9 15:12:29 2009 +0100
trivial: remove unused variable as reported by clang
src/gpk-update-viewer.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index e58826d..221b645 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -1397,7 +1397,6 @@ gpk_update_viewer_treeview_add_columns_update (GpkUpdateViewer *update_viewer, G
{
GtkCellRenderer *renderer;
GtkTreeViewColumn *column;
- GtkTreeModel *model;
/* restart */
renderer = gpk_cell_renderer_restart_new ();
@@ -1428,7 +1427,6 @@ gpk_update_viewer_treeview_add_columns_update (GpkUpdateViewer *update_viewer, G
/* select toggle */
renderer = gtk_cell_renderer_toggle_new ();
- model = gtk_tree_view_get_model (treeview);
g_signal_connect (renderer, "toggled", G_CALLBACK (gpk_update_viewer_treeview_update_toggled), update_viewer);
gtk_tree_view_column_pack_start (column, renderer, TRUE);
gtk_tree_view_column_add_attribute (column, renderer, "active", GPK_UPDATES_COLUMN_SELECT);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]