aboutsummaryrefslogtreecommitdiff
path: root/src/lua_interface.c
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2008-06-18 14:11:52 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2008-06-18 14:11:52 -0400
commitb5051198e02beebd6c7d28069a62384d441bdb31 (patch)
tree8dc4ef83cae35f460fd0c2bd06e4d7a7f2400500 /src/lua_interface.c
parent705a8798f5941324a8448eee5c558a299a3588c1 (diff)
downloadtextadept-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.c2
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