[libegg] Include sentinel NULL in g_object_set call
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libegg] Include sentinel NULL in g_object_set call
- Date: Wed, 23 Mar 2011 15:38:24 +0000 (UTC)
commit 9791aa727d3b7525a79aca4314753564f2a2ebb5
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]