Amazingly, it worked the first time! Just a quick logic error here.

This commit is contained in:
Pietro Gagliardi 2018-06-07 22:30:43 -04:00
parent 66ca3315cf
commit 7a40bdfb3f
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ static void setEditable(uiTableModel *m, GtkTreeIter *iter, int modelColumn, Gtk
editable = g_value_get_int(&value) != 0; editable = g_value_get_int(&value) != 0;
g_value_unset(&value); g_value_unset(&value);
} }
g_object_set(r, "editable", editable, NULL); g_object_set(r, prop, editable, NULL);
} }
static void applyBackgroundColor(uiTable *t, GtkTreeModel *m, GtkTreeIter *iter, GtkCellRenderer *r) static void applyBackgroundColor(uiTable *t, GtkTreeModel *m, GtkTreeIter *iter, GtkCellRenderer *r)