[dia] [waringectomy] static correctness and an unused variable
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [waringectomy] static correctness and an unused variable
- Date: Fri, 6 Aug 2010 12:13:25 +0000 (UTC)
commit 9613b32051be65bf859a0a7e27e804da6c6fba2a
Author: Hans Breuer <hans breuer org>
Date: Fri Aug 6 14:13:53 2010 +0200
[waringectomy] static correctness and an unused variable
lib/prop_dict.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/prop_dict.c b/lib/prop_dict.c
index a877fd2..8d4a651 100644
--- a/lib/prop_dict.c
+++ b/lib/prop_dict.c
@@ -180,7 +180,7 @@ _keyvalue_fill_model (gpointer key,
gtk_tree_store_append (model, &iter, NULL);
gtk_tree_store_set (model, &iter,
- KEY_COLUMN, key,
+ KEY_COLUMN, name,
VALUE_COLUMN, val,
IS_EDITABLE_COLUMN, TRUE,
-1);
@@ -214,7 +214,7 @@ edited (GtkCellRendererText *cell,
gtk_tree_path_free (path);
}
-GtkWidget *
+static GtkWidget *
_create_view (GtkTreeModel *model)
{
GtkWidget *widget;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]