[libegg/spread-table-dnd: 30/45] Include sentinel NULL in g_object_set call



commit ee79df1bab15e0530290a6ba46f03c9dae4f8c0d
Author: David King <davidk openismus com>
Date:   Wed Mar 23 10:47:28 2011 +0100

    Include sentinel NULL in g_object_set call

 libegg/treeviewutils/test-tree-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libegg/treeviewutils/test-tree-utils.c b/libegg/treeviewutils/test-tree-utils.c
index c99c544..ab2a577 100644
--- a/libegg/treeviewutils/test-tree-utils.c
+++ b/libegg/treeviewutils/test-tree-utils.c
@@ -217,7 +217,7 @@ key_test (void)
 	gtk_container_add (GTK_CONTAINER (sw), tv);
 	column = gtk_tree_view_column_new ();
 	rend = egg_cell_renderer_keys_new ();
-	g_object_set (G_OBJECT (rend), "accel_mode", EGG_CELL_RENDERER_KEYS_MODE_X);
+	g_object_set (G_OBJECT (rend), "accel_mode", EGG_CELL_RENDERER_KEYS_MODE_X, NULL);
 	g_signal_connect (G_OBJECT (rend),
 			  "keys_edited",
 			  G_CALLBACK (accel_edited_callback),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]