diff options
author | 2008-06-18 14:11:52 -0400 | |
---|---|---|
committer | 2008-06-18 14:11:52 -0400 | |
commit | b5051198e02beebd6c7d28069a62384d441bdb31 (patch) | |
tree | 8dc4ef83cae35f460fd0c2bd06e4d7a7f2400500 /src/lua_interface.c | |
parent | 705a8798f5941324a8448eee5c558a299a3588c1 (diff) | |
download | textadept-b5051198e02beebd6c7d28069a62384d441bdb31.tar.gz textadept-b5051198e02beebd6c7d28069a62384d441bdb31.zip |
Fixed gtktreestore.c warning by ending columns with -1; src/lua_interface.c
Diffstat (limited to 'src/lua_interface.c')
-rw-r--r-- | src/lua_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua_interface.c b/src/lua_interface.c index 86709a5a..20a28a6e 100644 --- a/src/lua_interface.c +++ b/src/lua_interface.c @@ -792,7 +792,7 @@ void l_pm_populate(GtkTreeIter *initial_iter) { lua_pop(lua, 1); // pixbuf lua_getfield(lua, -1, "text"); gtk_tree_store_set(pm_store, &iter, 2, lua_isstring(lua, -1) ? - lua_tostring(lua, -1) : lua_tostring(lua, -3)); + lua_tostring(lua, -1) : lua_tostring(lua, -3), -1); lua_pop(lua, 1); // display text } else warn("pm.populate: string id key must have table value."); lua_pop(lua, 1); // value |